]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: reorder timing checks in request_inode_file_caps
authorGreg Farnum <gregory.farnum@dreamhost.com>
Fri, 22 Jul 2011 18:45:03 +0000 (11:45 -0700)
committerGreg Farnum <gregory.farnum@dreamhost.com>
Fri, 22 Jul 2011 18:45:03 +0000 (11:45 -0700)
commit440de005041e7947f0048cf0fd1ce6853f51f833
tree547be5a932c230de095c36a23ad4fc44edbf6687
parenta2c761e62acdb3cff941867c224ae295cf6337b3
mds: reorder timing checks in request_inode_file_caps

We do want to hold onto caps for a few seconds after the client
closes it, just in case it decides to re-open again! With the
old arrangement the keep time was never moved off of zero.

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
src/mds/Locker.cc