Remove last traces of obdfilter (LU-2161)

[LU-2096] name ofd device type "ofd" instead of "obdfilter" Created: 05/Oct/12  Updated: 29/Jan/22

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.4.0
Fix Version/s: None

Type: Technical task Priority: Major
Reporter: Andreas Dilger Assignee: Alex Zhuravlev
Resolution: Unresolved Votes: 0
Labels: llnl, patch

Issue Links:
Related
is related to LU-8066 Move lustre procfs handling to sysfs ... Open
is related to LU-3300 Restore missing proc information for LMT Open
is related to LU-2161 Remove last traces of obdfilter Open
Rank (Obsolete): 4380

 Description   

The current ofd module registers itself as "obdfilter" in order to allow test scripts and /proc entries to be compatible.

However, in the long term this should be changed to "ofd" for clarity, and a symlink can be created in /proc/fs/lustre "obdfilter -> ofd" (as osp does for osc /proc files) so that monitoring scripts and older tests (in compat mode) can continue to access the /proc files, but there is a clear separation between the two modules.



 Comments   
Comment by Ned Bass [ 05/Oct/12 ]

ORI-614 should probably be closed as a duplicate of this.

Comment by James A Simmons [ 30/Oct/13 ]

With the work going on for LU-3319 I also thought about renaming obdfilter to ofd and creating a symlink. I can easily add this work on top of the ofd patch for LU-3319.

Comment by James A Simmons [ 13/Jun/14 ]

Patch at http://review.whamcloud.com/#/c/4618

Comment by James A Simmons [ 18/Mar/15 ]

Got around to updating the patch. With this patch the obd_type is now "ost" instead of obdfilter. Also fixed up the OSS / oss proc handling to match what mdt / MDS does. So proc is updated correctly and the obd_device is handled right but the file system writes to the log the OST device as obdfilter. Changing that will break down grade abilities. Well I will discuss that in LU-2161 on how to handle this.

Comment by Gerrit Updater [ 21/May/18 ]

James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/32475
Subject: LU-2096 lprocfs: symlinks for forward compatibility
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: e6d499b53a54c5624dc5f9c913876865b7e356fd

Generated at Sat Feb 10 01:22:20 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.