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

MDT getattr stats not getting updated

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.3.0, Lustre 2.1.2
    • Lustre 2.0.0, Lustre 2.1.0, Lustre 2.2.0, Lustre 2.3.0, Lustre 2.1.1, Lustre 2.1.2
    • None
    • 3
    • 4638

    Description

      The MDT getattr statistic in procfs is not incremented when clients perform stat operations on files. For example,

      $ echo clear | sudo tee /proc/fs/lustre/mdt/lustre-MDT0000/md_stats
      clear
      $ grep getattr /proc/fs/lustre/mdt/lustre-MDT0000/md_stats
      $ sudo touch /mnt/lustre/test
      $ ls -l /mnt/lustre/test
      rw-rr- 1 root root 0 Apr 12 17:42 /mnt/lustre/test
      $ grep getattr /proc/fs/lustre/mdt/lustre-MDT0000/md_stats
      $

      Should getattr get incremented in this case?

      Attachments

        Issue Links

          Activity

            People

              ys Yang Sheng
              nedbass Ned Bass (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: