]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds/RecoveryQueue: do not start prioritized items synchronously 2258/head
authorSage Weil <sage@redhat.com>
Fri, 29 Aug 2014 15:29:35 +0000 (08:29 -0700)
committerSage Weil <sage@redhat.com>
Fri, 29 Aug 2014 15:29:35 +0000 (08:29 -0700)
commita9941458f05c1659bf3b6c9ba663e624328b987e
tree6c20aaaf9fbd7039206b1e71fc340d28a8a0aff5
parentdc6bd3b3a10c363af4414d0a1f5ad40690237117
mds/RecoveryQueue: do not start prioritized items synchronously

When we prioritize an item move it into a second priority list/set, but
do not start immediately, so that we still obey the max.  When we go to
start an item, pull items first off the priority list, then off the regular
list.

Signed-off-by: Sage Weil <sage@redhat.com>
src/mds/RecoveryQueue.cc
src/mds/RecoveryQueue.h