]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: add debugging for encoding lease stat
authorPatrick Donnelly <pdonnell@ibm.com>
Wed, 23 Oct 2024 17:58:59 +0000 (13:58 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Mon, 17 Mar 2025 19:43:17 +0000 (15:43 -0400)
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
Fixes: https://tracker.ceph.com/issues/66373
(cherry picked from commit de8ceffe2b6bf07deabdcb19b19d8495e31b0886)

src/mds/Locker.cc

index c61fdd178521fd0a95edb2ca89dd7e55d4912935..0c85b1a3f990951485e3d6c9067b553d862564dc 100644 (file)
@@ -4563,6 +4563,7 @@ void Locker::encode_lease(bufferlist& bl, const session_info_t& info,
                          const LeaseStat& ls)
 {
   if (info.has_feature(CEPHFS_FEATURE_REPLY_ENCODING)) {
+    dout(25) << "encode lease reply encoding: " << ls << dendl;
     ENCODE_START(2, 1, bl);
     encode(ls.mask, bl);
     encode(ls.duration_ms, bl);
@@ -4571,6 +4572,7 @@ void Locker::encode_lease(bufferlist& bl, const session_info_t& info,
     ENCODE_FINISH(bl);
   }
   else {
+    dout(25) << "encode lease NO reply encoding: " << ls << dendl;
     encode(ls.mask, bl);
     encode(ls.duration_ms, bl);
     encode(ls.seq, bl);