[LU-11604] debugfs should print out the LOV EA and linkEA Created: 02/Nov/18  Updated: 24/Jan/22  Resolved: 05/May/21

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: e2fsprogs

Issue Links:
Related
is related to LU-14664 debugfs should print "layout_version"... Resolved
Rank (Obsolete): 9223372036854775807

 Description   

Currently, debugfs "stat" will print out some of the xattrs, such as "lma" and "fid", but it does not print out "lov" or "link" xattrs, not even a hex dump.

It probably makes sense for "stat" to print out all of the xattrs, maybe with a new -x option, at least in hex format, so that it is possible to see what is stored in each one. Better still would be printing a decoded form of the xattr. This could be extended to print out decoded ACLs also, which would be useful for upstream submission.



 Comments   
Comment by Andreas Dilger [ 02/Nov/18 ]

I have a partial patch for decoding the linkEA, but not the others.

Comment by Gerrit Updater [ 12/Jun/19 ]

Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35203
Subject: LU-11604 debugfs: add support for printing linkEA
Project: tools/e2fsprogs
Branch: master-lustre
Current Patch Set: 1
Commit: 45f05fe8e619f3f275da05590f04f7dd83e7254a

Comment by Gerrit Updater [ 21/Apr/21 ]

Li Dongyang (dongyangli@ddn.com) uploaded a new patch: https://review.whamcloud.com/43383
Subject: LU-11604 debugfs: add support for printing linkEA
Project: tools/e2fsprogs
Branch: master-lustre-test
Current Patch Set: 1
Commit: b2d96640b57eb6792e0fa0ae98883e1baa8fa3de

Comment by Gerrit Updater [ 21/Apr/21 ]

Li Dongyang (dongyangli@ddn.com) uploaded a new patch: https://review.whamcloud.com/43384
Subject: LU-11604 debugfs: add support for printing ACL
Project: tools/e2fsprogs
Branch: master-lustre-test
Current Patch Set: 1
Commit: fdac961b0cdb6f3536d20efbb30a460af4b4909f

Comment by Gerrit Updater [ 27/Apr/21 ]

Li Dongyang (dongyangli@ddn.com) merged in patch https://review.whamcloud.com/43383/
Subject: LU-11604 debugfs: add support for printing linkEA
Project: tools/e2fsprogs
Branch: master-lustre-test
Current Patch Set:
Commit: 5d54ba9082e5e33f30e04230d930df604ec46a37

Comment by Gerrit Updater [ 27/Apr/21 ]

Li Dongyang (dongyangli@ddn.com) merged in patch https://review.whamcloud.com/43384/
Subject: LU-11604 debugfs: add support for printing ACL
Project: tools/e2fsprogs
Branch: master-lustre-test
Current Patch Set:
Commit: 8631879536243ded98d6c9579852f27b7a9c5174

Comment by Andreas Dilger [ 05/May/21 ]

Included in e2fsprogs-1.46.2.wc1

Comment by Gerrit Updater [ 09/Jan/22 ]

"Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/46024
Subject: LU-11604 tests: fix ACL-printing tests
Project: tools/e2fsprogs
Branch: master-lustre
Current Patch Set: 1
Commit: 8f049a8e858877e90ad40a7ae318544e427b3a15

Comment by Gerrit Updater [ 24/Jan/22 ]

"Li Dongyang <dongyangli@ddn.com>" merged in patch https://review.whamcloud.com/46024/
Subject: LU-11604 tests: fix ACL-printing tests
Project: tools/e2fsprogs
Branch: master-lustre
Current Patch Set:
Commit: d31671c781a9c6c0e9459911e4ff05892dc24b5e

Generated at Sat Feb 10 02:45:19 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.