]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: underwater is function of _loaded_ version, not in core version
authorSage Weil <sage@newdream.net>
Wed, 11 Nov 2009 00:26:44 +0000 (16:26 -0800)
committerSage Weil <sage@newdream.net>
Wed, 11 Nov 2009 00:27:40 +0000 (16:27 -0800)
commit55a29c5224ae8269654289b8f5b6e0b5ba05d3d8
treec5a24db9cb1d1761666214644346d575552007de
parenta86e5409d7ad3331c64cd955210a5449c5bf51c5
mds: underwater is function of _loaded_ version, not in core version

We may load a dir version off disk that is older than the
in-core version (because we got newer data from the
journal, say).  When marking underwater items clean, do
so based on the _loaded_ version, not out in-core version.
src/mds/CDir.cc