]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mdcache: adjust trim() to handle running during standby-replay.
authorGreg Farnum <gregf@hq.newdream.net>
Wed, 15 Dec 2010 00:44:55 +0000 (16:44 -0800)
committerGreg Farnum <gregf@hq.newdream.net>
Thu, 6 Jan 2011 19:12:14 +0000 (11:12 -0800)
commitae4dda412f7f3c316fa3718f72ab1c023d0a271c
tree361a64f860c68c1306959a693b63dc18f664bc11
parentd14c7dd47df9dafdc0b223c8de833e75009533ff
mdcache: adjust trim() to handle running during standby-replay.

This just means it needs to handle files on the open list and not
trim them. Add a check for that with an assert, and keep them alive.

Signed-off-by: Greg Farnum <gregf@hq.newdream.net>
src/mds/MDCache.cc