[LU-2161] Remove last traces of obdfilter Created: 02/Apr/12 Updated: 15/Dec/17 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Brian Behlendorf | Assignee: | Alex Zhuravlev |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | llnl, server | ||
| Issue Links: |
|
||||||||||
| Sub-Tasks: |
|
||||||||||
| Severity: | 3 | ||||||||||
| Epic: | server | ||||||||||
| Rank (Obsolete): | 2970 | ||||||||||
| Description |
|
I've been meaning to file this for a while, but we really need to get rid of the last vestiges of obdfilter. In particular, the ofd module is still named obdfilter, and related proc infrastructure is still under obdfilter. I presume this was left to accommodate the t-f but its certainly confusing and needs to go. lustre/ofd/Makefile.in MODULES := obdfilter obdfilter-objs := ofd_dev.o ofd_io.o ofd_obd.o ofd_objects.o obdfilter-objs += lproc_ofd.o ofd_lvb.o ofd_capa.o obdfilter-objs += ofd_grant.o ofd_recovery.o ofd_fs.o ofd_fmd.o @INCLUDE_RULES@ |
| Comments |
| Comment by Andreas Dilger [ 16/Sep/13 ] |
|
Should also clean up the test scripts, /proc filenames, man pages, etc. that reference obdfilter instead of ofd. |
| Comment by James A Simmons [ 13/Jun/14 ] |
|
This can be linked to LU-2096 since a patch exist that changes the obdfilter proc structure. I think this is a good first step to finish this off. Now in obd.h I see: #define LUSTRE_OSS_NAME "ost" /* FIXME change name to oss */ So in that patch I created real proc directories "ost" and "oss" and created the following symlinks. lrwxrwxrwx 1 root root 3 Jun 13 14:21 obdfilter -> ost I also attempted to make oss/OSS look like mds/MDS. Appears in my latest patch the symlink for OSS to ost/ is missing. |
| Comment by James A Simmons [ 18/Mar/15 ] |
|
Latest patch for LU-2096 clears up the obd device type from obdfilter to ost as well as the proc handling. What is not changed in that patch is the log record recorded on attach. Currently it is recored as "obdfilter" instead of LUSTRE_OST_NAME. Changing that will break downgrades since the OST will not mount. Must ponder a way to support both. |