]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds/RecoveryQueue: add method to prioritize a file recovery; fix logging
authorSage Weil <sage@redhat.com>
Thu, 14 Aug 2014 21:52:40 +0000 (14:52 -0700)
committerSage Weil <sage@redhat.com>
Thu, 28 Aug 2014 20:09:25 +0000 (13:09 -0700)
commitbd3c8bc1b96304e2af7f375502ef4d1264f14b6b
tree78c940783d019d25571f31d8de733935fdea2e08
parent8f4ea81cfc3ded7de254f03a7f6817de582cf4f9
mds/RecoveryQueue: add method to prioritize a file recovery; fix logging

Add a prioritize() method to make file recovery start immediately for the
given inode.  Note that this doesn't respect the max recovery limit: if
someone stats it, they are blocking, and we start the recovery immediately.

Also fix up the dout logging a bit so that everything is prefixed
consistently.

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