[LU-9440] Replace the long path of getting s_volume_name with sb->s_id in the debug message Created: 03/May/17  Updated: 10/Jun/17  Resolved: 10/Jun/17

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

Type: Bug Priority: Minor
Reporter: nasf (Inactive) Assignee: nasf (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

In the OSD debug message, we originally use the code similar as "LDISKFS_SB(osd_sb(osd))>s_es>s_volume_name" to get the system name information. That is inefficient, it can be replaced by the "(osd_sb(osd)->s_id".



 Comments   
Comment by Gerrit Updater [ 18/May/17 ]

Fan Yong (fan.yong@intel.com) uploaded a new patch: https://review.whamcloud.com/27177
Subject: LU-9440 osd-ldiskfs: efficient way to get ldiskfs backend name
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: fb0288525fa2bf845e830919e498e14728f8d052

Comment by Gerrit Updater [ 10/Jun/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/27177/
Subject: LU-9440 osd-ldiskfs: efficient way to get ldiskfs backend name
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 2272a301f5e365c0ca02b5c939934c1051d910d3

Comment by Peter Jones [ 10/Jun/17 ]

Landed for 2.10

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