]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: use null snap context for purge if no realm
authorSage Weil <sage@newdream.net>
Wed, 12 Nov 2008 18:23:15 +0000 (10:23 -0800)
committerSage Weil <sage@newdream.net>
Wed, 12 Nov 2008 21:09:47 +0000 (13:09 -0800)
commiteddb8794bea24693c0f7b64ee7c688003ecc19a5
treee8a317f5422ab5e812da2a4c66b24873d5bd5b64
parent879af6f1b86651151531f6de4c8441806eb2dff5
mds: use null snap context for purge if no realm

The inode may be unlinked, e.g. when we are replaying a journaled
purge_inode EUpdate.  The snapc is not really important, as the
OSD will use the newer snapc it has for the object.  And we only
really care when we're purging the HEAD anyway.
src/mds/MDCache.cc