summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorPatrick Donnelly <pdonnell@redhat.com>2024-06-26 18:50:32 +0200
committerPatrick Donnelly <pdonnell@redhat.com>2024-10-13 02:41:37 +0200
commitcb4ff28af09f0afd5546d87a59cdfc64e64a2b15 (patch)
tree5e417f53ee5ee418c6762232f3980894f5dd8a27 /src/client
parentinclude/ceph_fs: correct ceph_mds_cap_peer field name (diff)
downloadceph-cb4ff28af09f0afd5546d87a59cdfc64e64a2b15.tar.xz
ceph-cb4ff28af09f0afd5546d87a59cdfc64e64a2b15.zip
mds: add issue_seq to all cap messages
Right now only the clients tell the MDS what they believe the issue_seq to be. The clients are expected to figure out issue_seq updates at Fixes: https://tracker.ceph.com/issues/68515 Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Diffstat (limited to 'src/client')
-rw-r--r--src/client/Client.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/Client.cc b/src/client/Client.cc
index 43c74046745..6a00e7debce 100644
--- a/src/client/Client.cc
+++ b/src/client/Client.cc
@@ -3840,6 +3840,7 @@ void Client::send_cap(Inode *in, MetaSession *session, Cap *cap,
want,
flush,
cap->mseq,
+ cap->issue_seq,
cap_epoch_barrier);
/*
* Since the setattr will check the cephx mds auth access before
@@ -3853,7 +3854,6 @@ void Client::send_cap(Inode *in, MetaSession *session, Cap *cap,
m->caller_uid = -1;
m->caller_gid = -1;
- m->head.issue_seq = cap->issue_seq;
m->set_tid(flush_tid);
m->head.uid = in->uid;