Details

    • Technical task
    • Resolution: Unresolved
    • Major
    • None
    • Lustre 2.4.0
    • 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.

      Attachments

        Issue Links

          Activity

            [LU-2096] name ofd device type "ofd" instead of "obdfilter"

            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

            gerrit Gerrit Updater added a comment - 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

            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.

            simmonsja James A Simmons added a comment - 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.
            simmonsja James A Simmons added a comment - Patch at http://review.whamcloud.com/#/c/4618

            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.

            simmonsja James A Simmons added a comment - 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 .

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

            nedbass Ned Bass (Inactive) added a comment - ORI-614 should probably be closed as a duplicate of this.

            People

              bzzz Alex Zhuravlev
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: