]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: unqueue recovery on purging inodes
authorSage Weil <sage@newdream.net>
Tue, 18 Nov 2008 00:46:38 +0000 (16:46 -0800)
committerSage Weil <sage@newdream.net>
Tue, 18 Nov 2008 00:46:38 +0000 (16:46 -0800)
commitf3d2dbf8bf1bb95549416c4b35649d38b3f20d17
treed7b18273baf613e15486a058b04d4698090e1afc
parent1c94897d8e9a8577bf227ada3ffac626f9f8601b
mds: unqueue recovery on purging inodes

If an inode is queued for file size recovery when it is purged,
unqueue it.  This catches the log replay case where client
reconnect queues up the inode.

Also, in eval_stray, skip inodes that are queued.  This should
avoid a recovery running concurrently with the purge (which could
be problematic, as it would carry a pointer to *in).
src/mds/MDCache.cc
src/mds/MDCache.h