diff options
author | Venky Shankar <vshankar@redhat.com> | 2024-08-01 15:10:42 +0200 |
---|---|---|
committer | Venky Shankar <vshankar@redhat.com> | 2024-08-20 09:07:47 +0200 |
commit | e5728c40b3719be4408885c4cd2adc771750cd62 (patch) | |
tree | 135d465b5bc2532a564a46f5747222fef6ca5e57 /src/mds/MDLog.cc | |
parent | mds: dump log segment end along with offset (diff) | |
download | ceph-e5728c40b3719be4408885c4cd2adc771750cd62.tar.xz ceph-e5728c40b3719be4408885c4cd2adc771750cd62.zip |
mds: dump log segment in segment expiry callback
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Diffstat (limited to 'src/mds/MDLog.cc')
-rw-r--r-- | src/mds/MDLog.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mds/MDLog.cc b/src/mds/MDLog.cc index cd274f8edc4..40d893d6262 100644 --- a/src/mds/MDLog.cc +++ b/src/mds/MDLog.cc @@ -749,6 +749,7 @@ class C_MaybeExpiredSegment : public MDSInternalContext { C_MaybeExpiredSegment(MDLog *mdl, LogSegment *s, int p) : MDSInternalContext(mdl->mds), mdlog(mdl), ls(s), op_prio(p) {} void finish(int res) override { + dout(10) << __func__ << ": ls=" << *ls << ", r=" << res << dendl; if (res < 0) mdlog->mds->handle_write_error(res); mdlog->_maybe_expired(ls, op_prio); |