]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: issue all snap_caps allowed given locks, not by current cap
authorSage Weil <sage@newdream.net>
Fri, 9 Jul 2010 17:32:25 +0000 (10:32 -0700)
committerSage Weil <sage@newdream.net>
Fri, 9 Jul 2010 21:47:21 +0000 (14:47 -0700)
commit3cbf578e5e4ec6a79c78fc18d9104d4e71aab014
treed1f5711f13018041c9916d4c214454605b54be16
parentf5c4fc61b6bed3714e5bcfa73cee9897a1a49491
mds: issue all snap_caps allowed given locks, not by current cap

For snap_caps, who cares if the live inode has a cap for this client.  We
always want to issue the maximum set of caps the inode locks allow for
a live inode or snapped inode with caps, or the max caps ever for a snapped
inode without caps.

Signed-off-by: Sage Weil <sage@newdream.net>
src/mds/CInode.cc