]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephfs: LeaseStat versioning 23280/head
authorJos Collin <jcollin@redhat.com>
Wed, 1 Aug 2018 14:58:21 +0000 (20:28 +0530)
committerJos Collin <jcollin@redhat.com>
Sun, 12 Aug 2018 01:12:18 +0000 (06:42 +0530)
commit2de7e88e4a956204792d5d6b6c99bf086850493f
tree9f9fbf8f09965537e730ef7d84983ef43ef5ac7f
parentb576cebb65ef519732fa0e32c3988484ce9581ae
cephfs: LeaseStat versioning

* Use the new feature bit CEPHFS_FEATURE_REPLY_ENCODING for encoding.
* encode/decode in the new format.
* Dropped LeaseStat::encode().
* The old format is maintained for backward compatibility.
* Created Locker::encode_lease() for encoding and dropped the duplicates.

Fixes: http://tracker.ceph.com/issues/24444
Signed-off-by: Jos Collin <jcollin@redhat.com>
src/client/Client.cc
src/mds/Locker.cc
src/mds/Locker.h
src/mds/Server.cc
src/mds/Server.h
src/messages/MClientReply.h