]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Merge pull request #53229 from ifed01/wip-ifed-snapdiff-ref
authorYuri Weinstein <yweinste@redhat.com>
Wed, 18 Oct 2023 16:22:31 +0000 (09:22 -0700)
committerGitHub <noreply@github.com>
Wed, 18 Oct 2023 16:22:31 +0000 (09:22 -0700)
reef: cephfs: implement snapdiff

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
1  2 
src/client/Client.cc
src/include/ceph_fs.h
src/mds/MDCache.cc
src/mds/Mutation.h
src/mds/Server.cc

Simple merge
index 9c7925df8991da21899828125d468a036d77ee28,42e5e53b438a39c62e2581d0b8387adbe8bd2569..28440c820dcfb8f17d0a04fcc301401025ec80fd
@@@ -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
Simple merge
Simple merge
Simple merge