]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
mds: write_head when reading in PurgeQueue
authorJohn Spray <john.spray@redhat.com>
Mon, 13 Feb 2017 12:01:40 +0000 (12:01 +0000)
committerJohn Spray <john.spray@redhat.com>
Wed, 8 Mar 2017 10:27:02 +0000 (10:27 +0000)
commit207846f89fd7d83fc8ef12e99eb1f87a42be1f44
tree78296e065faaed304afe60acc6954e3d680cc13c
parent92bf85efd4cfe66bf86d9b5ef602f49e341b0251
mds: write_head when reading in PurgeQueue

Previously write_head calls were only generated
on the write side, so if you had a big queue
and were just working through consuming it, you
wouldn't record your progress, and on a daemon
restart would end up repeating a load of work.

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