]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephfs: DirStat versioning
authorJos Collin <jcollin@redhat.com>
Wed, 1 Aug 2018 04:18:48 +0000 (09:48 +0530)
committerJos Collin <jcollin@redhat.com>
Sun, 12 Aug 2018 01:08:41 +0000 (06:38 +0530)
commitb576cebb65ef519732fa0e32c3988484ce9581ae
tree76d7521fc4a43843b36c4e6523222b65c7649f4f
parent270697eccf979e18de49f290caef799ea5f3afb0
cephfs: DirStat versioning

* Use the new feature bit CEPHFS_FEATURE_REPLY_ENCODING for encoding.
* encode/decode in the new format.
* Dropped DirStat::encode().
* The old format is maintained for backward compatibility.
* Created CDir::encode_dirstat() 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/CDir.cc
src/mds/CDir.h
src/mds/Server.cc
src/mds/Server.h
src/messages/MClientReply.h