From: Yuri Weinstein Date: Wed, 18 Oct 2023 16:22:31 +0000 (-0700) Subject: Merge pull request #53229 from ifed01/wip-ifed-snapdiff-ref X-Git-Tag: v18.2.1~138 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5bcbf8b3ca17ea54d4b970ea61010968c8cc3397;p=ceph.git Merge pull request #53229 from ifed01/wip-ifed-snapdiff-ref reef: cephfs: implement snapdiff Reviewed-by: Venky Shankar Reviewed-by: Xiubo Li Reviewed-by: Jos Collin --- 5bcbf8b3ca17ea54d4b970ea61010968c8cc3397 diff --cc src/include/ceph_fs.h index 9c7925df8991d,42e5e53b438a3..28440c820dcfb --- a/src/include/ceph_fs.h +++ b/src/include/ceph_fs.h @@@ -627,9 -623,17 +628,17 @@@ union ceph_mds_request_args __le64 parent; __le32 hash; } __attribute__ ((packed)) lookupino; + struct { + __le32 frag; /* which dir fragment */ + __le32 max_entries; /* how many dentries to grab */ + __le32 max_bytes; + __le16 flags; + __le32 offset_hash; + __le64 snap_other; + } __attribute__ ((packed)) snapdiff; } __attribute__ ((packed)); -#define CEPH_MDS_REQUEST_HEAD_VERSION 2 +#define CEPH_MDS_REQUEST_HEAD_VERSION 3 /* * Note that any change to this structure must ensure that it is compatible