Skip to content

Commit e5728c4

Browse files
committed
mds: dump log segment in segment expiry callback
Signed-off-by: Venky Shankar <[email protected]>
1 parent 5639fa2 commit e5728c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mds/MDLog.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -749,6 +749,7 @@ class C_MaybeExpiredSegment : public MDSInternalContext {
749749
C_MaybeExpiredSegment(MDLog *mdl, LogSegment *s, int p) :
750750
MDSInternalContext(mdl->mds), mdlog(mdl), ls(s), op_prio(p) {}
751751
void finish(int res) override {
752+
dout(10) << __func__ << ": ls=" << *ls << ", r=" << res << dendl;
752753
if (res < 0)
753754
mdlog->mds->handle_write_error(res);
754755
mdlog->_maybe_expired(ls, op_prio);

0 commit comments

Comments
 (0)