[LU-16067] quiet debugfs "catastrophic mode" message Created: 02/Aug/22  Updated: 07/Aug/22  Resolved: 07/Aug/22

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Andreas Dilger Assignee: WC Triage
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
Rank (Obsolete): 9223372036854775807

 Description   

When debugfs runs with the "-c" option, it prints a scary looking message:

catastrophic mode - not reading inode or group bitmaps

This is totally normal and expected behavior for the "-c" option, which is used to significantly shorten the debugfs command execution time by not reading metadata that isn't needed.

Since there is often confusion about what this message means, it would be better to just avoid printing anything at all, since the use of "-c" is expressly requesting this behavior, and there are no messages printed out for other options.



 Comments   
Comment by Gerrit Updater [ 02/Aug/22 ]

"Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/48109
Subject: LU-16067 debugfs: quiet debugfs 'catastrophic' message
Project: tools/e2fsprogs
Branch: master-lustre
Current Patch Set: 1
Commit: 0218ff07d55c23016ce90aae7449088ead9d741c

Comment by Gerrit Updater [ 02/Aug/22 ]

"Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/48110
Subject: LU-16067 misc: cleanup compiler warnings
Project: tools/e2fsprogs
Branch: master-lustre
Current Patch Set: 1
Commit: 6a4b13426000d885b25b592f39aaa94883d0392b

Comment by Gerrit Updater [ 05/Aug/22 ]

"Li Dongyang <dongyangli@ddn.com>" merged in patch https://review.whamcloud.com/48109/
Subject: LU-16067 debugfs: quiet debugfs 'catastrophic' message
Project: tools/e2fsprogs
Branch: master-lustre
Current Patch Set:
Commit: 50300b882685154d0d79df8c3c80bd12d9c5bf86

Comment by Gerrit Updater [ 05/Aug/22 ]

"Li Dongyang <dongyangli@ddn.com>" merged in patch https://review.whamcloud.com/48110/
Subject: LU-16067 misc: cleanup compiler warnings
Project: tools/e2fsprogs
Branch: master-lustre
Current Patch Set:
Commit: b4450eadfa09dfdedd322af19ba3601335608632

Comment by Gerrit Updater [ 05/Aug/22 ]

"Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/48152
Subject: LU-16067 debugfs: quiet debugfs 'catastrophic' message
Project: tools/e2fsprogs
Branch: master-lustre-test
Current Patch Set: 1
Commit: b38b3f7c3b83a80e9094647498d1519d5a813ec6

Generated at Sat Feb 10 03:23:43 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.