]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: rejournal using EUpdate instead of EOpen if no caps in check_inode_max_size
authorSage Weil <sage@newdream.net>
Mon, 24 Nov 2008 21:23:53 +0000 (13:23 -0800)
committerSage Weil <sage@newdream.net>
Mon, 24 Nov 2008 21:23:53 +0000 (13:23 -0800)
commit5efda112f2229d41c95e03ed19ee4c2ace1078ad
tree58e9b2151ed210304e5c7b43f78519833bcfa888
parent3e71db7836042ae172b52f59fd0c347d1297c431
mds: rejournal using EUpdate instead of EOpen if no caps in check_inode_max_size

Using EOpen on non-open files is imprecise.  More importantly, if
it is a snapped inode, the EOpen replay code won't be able to
look up the ino and will throw an assertion.

So, use EUpdate instead to record the new info when necessary.
src/mds/Locker.cc