Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-17471

Add symlink /proc/fs/lustre/osd-*/*/brw_stats to /sys/kernel/debug/lustre/osd-*/*/brw_stats

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      Add symlink at /proc/fs/lustre/osd-*/*/brw_stats to /sys/kernel/debug/lustre/osd-*/*/brw_stats to be compatible with the previous tools that are still using the old proc entry

      Attachments

        Issue Links

          Activity

            [LU-17471] Add symlink /proc/fs/lustre/osd-*/*/brw_stats to /sys/kernel/debug/lustre/osd-*/*/brw_stats

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/56917/
            Subject: LU-17471 osd-ldiskfs: brw_stats symlink module option
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: cee4e10e4908aa0f3f483d337bc3296680df3828

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/56917/ Subject: LU-17471 osd-ldiskfs: brw_stats symlink module option Project: fs/lustre-release Branch: master Current Patch Set: Commit: cee4e10e4908aa0f3f483d337bc3296680df3828

            "Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/56917
            Subject: LU-17471 osd-ldiskfs: brw_stats symlink module option
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 07d29f14476087afdfa3ccccd2c45db34b8f7772

            gerrit Gerrit Updater added a comment - "Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/56917 Subject: LU-17471 osd-ldiskfs: brw_stats symlink module option Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 07d29f14476087afdfa3ccccd2c45db34b8f7772
            pjones Peter Jones added a comment -

            Landed for 2.16

            pjones Peter Jones added a comment - Landed for 2.16

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/53829/
            Subject: LU-17471 osd: add symlink for brw_stats
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 47ccacd58dafb3d9a257c37a06b57a8bd19ff1ce

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/53829/ Subject: LU-17471 osd: add symlink for brw_stats Project: fs/lustre-release Branch: master Current Patch Set: Commit: 47ccacd58dafb3d9a257c37a06b57a8bd19ff1ce

            Looking at the brw_stats we have:

            snapshot_time:            1706282708.388344346 secs.nsecs
            start_time:               1706235995.333903347 secs.nsecs
            elapsed_time:             46713.054440999 secs.nsecs

                                      read      |     write
            pages per bulk r/w     rpcs  % cum % |  rpcs        % cum %

                                      read      |     write
            discontiguous pages    rpcs  % cum % |  rpcs        % cum %

                                      read      |     write
            discontiguous blocks   rpcs  % cum % |  rpcs        % cum %

                                      read      |     write
            disk fragmented I/Os   ios   % cum % |  ios         % cum %

                                      read      |     write
            disk I/Os in flight    ios   % cum % |  ios         % cum %

                                      read      |     write
            I/O time (1/1000s)     ios   % cum % |  ios         % cum %

                                      read      |     write
            disk I/O size          ios   % cum % |  ios         % cum %

                                      read      |     write
            block maps msec        maps  % cum % |  maps        % cum %

            How should this look for a proper YAML format?

            simmonsja James A Simmons added a comment - Looking at the brw_stats we have: snapshot_time:            1706282708.388344346 secs.nsecs start_time:               1706235995.333903347 secs.nsecs elapsed_time:             46713.054440999 secs.nsecs                           read      |     write pages per bulk r/w     rpcs  % cum % |  rpcs        % cum %                           read      |     write discontiguous pages    rpcs  % cum % |  rpcs        % cum %                           read      |     write discontiguous blocks   rpcs  % cum % |  rpcs        % cum %                           read      |     write disk fragmented I/Os   ios   % cum % |  ios         % cum %                           read      |     write disk I/Os in flight    ios   % cum % |  ios         % cum %                           read      |     write I/O time (1/1000s)     ios   % cum % |  ios         % cum %                           read      |     write disk I/O size          ios   % cum % |  ios         % cum %                           read      |     write block maps msec        maps  % cum % |  maps        % cum % How should this look for a proper YAML format?

            Adding a symlink into proc is a big no no. Lets complete the LU-11850 work instead. Its made good progress the last few days.

            simmonsja James A Simmons added a comment - Adding a symlink into proc is a big no no. Lets complete the LU-11850 work instead. Its made good progress the last few days.

            "Hongchao Zhang <hongchao@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/53829
            Subject: LU-17471 osd: add symlink for brw_stats
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 828af49c895de3deea4c7e3f8c6d12ab89eb5a3b

            gerrit Gerrit Updater added a comment - "Hongchao Zhang <hongchao@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/53829 Subject: LU-17471 osd: add symlink for brw_stats Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 828af49c895de3deea4c7e3f8c6d12ab89eb5a3b

            People

              hongchao.zhang Hongchao Zhang
              hongchao.zhang Hongchao Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: