summaryrefslogtreecommitdiffstats
path: root/fs/ceph/mds_client.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2020-01-13 13:04:08 -0500
committerIlya Dryomov <idryomov@gmail.com>2020-03-30 12:42:42 +0200
commit6deb8008a8e64eec3b1e06cc4286905ee6b14e42 (patch)
tree73d21125503c00de2e92f61351444e238d1f0fbe /fs/ceph/mds_client.h
parentd4846487870897a5a149a3220c95bfd5728f9247 (diff)
downloadlinux-6deb8008a8e64eec3b1e06cc4286905ee6b14e42.tar.gz
linux-6deb8008a8e64eec3b1e06cc4286905ee6b14e42.tar.bz2
linux-6deb8008a8e64eec3b1e06cc4286905ee6b14e42.zip
ceph: add new MDS req field to hold delegated inode number
Add new request field to hold the delegated inode number. Encode that into the message when it's set. Signed-off-by: Jeff Layton <jlayton@kernel.org> Reviewed-by: "Yan, Zheng" <zyan@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/mds_client.h')
-rw-r--r--fs/ceph/mds_client.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ceph/mds_client.h b/fs/ceph/mds_client.h
index 4c3b71707470..4e5be79bf080 100644
--- a/fs/ceph/mds_client.h
+++ b/fs/ceph/mds_client.h
@@ -313,6 +313,7 @@ struct ceph_mds_request {
int r_num_fwd; /* number of forward attempts */
int r_resend_mds; /* mds to resend to next, if any*/
u32 r_sent_on_mseq; /* cap mseq request was sent at*/
+ u64 r_deleg_ino;
struct list_head r_wait;
struct completion r_completion;