]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: set old and new dentry lease bits
authorSage Weil <sage@newdream.net>
Thu, 7 Jul 2011 20:35:32 +0000 (13:35 -0700)
committerSage Weil <sage@newdream.net>
Thu, 7 Jul 2011 20:35:32 +0000 (13:35 -0700)
commit5dc09dd6b81c622960f628acdabda9eac8af1ceb
tree0fb7d8efb271095605f9d90481bd57d3c61c27c8
parent616ff502643d8546051f0bac7635123b8a335f8b
mds: set old and new dentry lease bits

Recent kernels got the new CEPH_LOCK_DN definition but we were still
setting the old bit.  Set both so we work with both classes of clients. In
the meantime, update the kernel to ignore this field so that eventually we
can drop/reuse it.

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