]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: expose progress during PurgeQueue drain
authorJohn Spray <john.spray@redhat.com>
Wed, 8 Feb 2017 16:24:24 +0000 (16:24 +0000)
committerJohn Spray <john.spray@redhat.com>
Wed, 8 Mar 2017 10:26:59 +0000 (10:26 +0000)
commit0952ce99101aad644e8a485f597c6428bfa2d2c0
treeaad34eaba820c8838c9d0adac637c1a8607d80c7
parent4427aed62b8582857359d83fa4f515d5dd83c768
mds: expose progress during PurgeQueue drain

We don't track an item count, but we do have
a number of bytes left in the Journaler, so
can use that to give an indication of progress
while the MDS rank shutdown is waiting for
the PurgeQueue to do its thing.

Also lift the ops limit on the PurgeQueue
when it goes into the drain phase.

Signed-off-by: John Spray <john.spray@redhat.com>
src/mds/MDSRank.cc
src/mds/PurgeQueue.cc
src/mds/PurgeQueue.h