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

Fix "Using a hash as a reference is deprecated" in llstat

    XMLWordPrintable

Details

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

    Description

      The customer reported the following issue in SFW-18:

      [root@mt2-oss2 ~]# llstat -i 5 home-OST0001
      Using a hash as a reference is deprecated at /usr/bin/llstat line 58.
      Using a hash as a reference is deprecated at /usr/bin/llstat line 85.
      Using a hash as a reference is deprecated at /usr/bin/llstat line 121.
      Using a hash as a reference is deprecated at /usr/bin/llstat line 122.
      /usr/bin/llstat: STATS on 02/01/17 /proc/fs/lustre/obdfilter/home-OST0001/stats on 10.55.150.13@o2ib
      snapshot_time 1485997519.917824
      read_bytes 78435913
      write_bytes 81111225
      setattr 71805
      punch 64
      sync 195530
      destroy 272792
      create 2295
      statfs 285218
      get_info 4
      quotactl 16
      set_info_async 1
      connect 220
      disconnect 133
      Illegal division by zero at /usr/bin/llstat line 80, <STATS> line 15.
      

      I will create a patch to fix that.

      Attachments

        Activity

          People

            emoly.liu Emoly Liu
            emoly.liu Emoly Liu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: