[LU-14786] lod creates broken debugfs symlinks Created: 24/Jun/21  Updated: 12/Jul/21  Resolved: 12/Jul/21

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

Type: Task Priority: Minor
Reporter: John Hammond Assignee: James A Simmons
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-8066 Move lustre procfs handling to sysfs ... Open
is related to LU-13091 conf-sanity "lctl list_param" test to... Open
Rank (Obsolete): 9223372036854775807

 Description   

The lod layer creates a broken symlink from /sys/kernel/debug/lustre/lov/lustre-MDT0000-mdtlov to ../lod/lustre-MDT0000-mdtlov.

# ls -l /sys/kernel/debug/lustre/lov/lustre-MDT0000-mdtlov
lrwxrwxrwx 1 root root 0 Jun 24 07:55 /sys/kernel/debug/lustre/lov/lustre-MDT0003-mdtlov -> ../lod/lustre-MDT0000-mdtlov

It would be good to have a test for broken symlinks in procfs, sysfs, debugfs. find PATH... -xtype l can be used to print broken symlinks.



 Comments   
Comment by Gerrit Updater [ 29/Jun/21 ]

James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/44113
Subject: LU-14786 lod: create missing debugfs file
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 7032bff750aa32eca70216e89d752e83784c3f93

Comment by Gerrit Updater [ 12/Jul/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/44113/
Subject: LU-14786 lod: create missing debugfs file
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 61138e82b52b19ab2a73398c2a238410ed559198

Comment by Peter Jones [ 12/Jul/21 ]

Landed for 2.15

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