Project

General

Profile

Actions

Fix #20246

closed

Make clog message on scrub errors friendlier.

Added by John Spray almost 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Administration/Usability
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Currently it looks something like this:

[WRN] Scrub error on inode [inode 10000000000 [...2,head] /foo/ auth v6 f(v0 m2017-06-11 11:39:48.327560 1=1+0) n(v0 rc2017-06-11 11:39:48.327560 b3 2=1+1) (inest lock) (ifile excl) (iversion lock) caps={4116=pAsLsXsFsx/-@0},l=4116 | dirfrag=0 caps=1 scrubqueue=0 0x5587d061be00] (/foo) see mds.a log for details

It makes me chuckle that we barf that much detail and then say "see mds.a.log for details".

The cluster log message should probably put the path first, put the inode number in brackets, and log all the rest to the local MDS log.

Actions

Also available in: Atom PDF