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

MDT statfs not updated soon enough

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      In LU-17087, bug was fixed to update statfs every hour. However, this may not be sufficient for short-lived workloads.

       

      Example debug output when uninitialized

      00000020:00001000:126.0:1734107045.877010:0:28721:0:(lu_tgt_descs.c:677:ltd_qos_update()) recalc tgt 0 usable=1 bavail=0 ffree=0 tgtppo=0 tgtp=0 svrppo=0 svrp=0 wt=0
      00000020:00001000:126.0:1734107045.877011:0:28721:0:(lu_tgt_descs.c:677:ltd_qos_update()) recalc tgt 1 usable=1 bavail=8927524 ffree=240979 tgtppo=7112501 tgtp=187254396 svrppo=53343764 svrp=26671882 wt=1886997360
      00000020:00001000:126.0:1734107045.877012:0:28721:0:(lu_tgt_descs.c:677:ltd_qos_update()) recalc tgt 2 usable=1 bavail=8902568 ffree=243702 tgtppo=7172764 tgtp=183134535 svrppo=53795732 svrp=0 wt=1935589709
      00000020:00001000:126.0:1734107045.877012:0:28721:0:(lu_tgt_descs.c:677:ltd_qos_update()) recalc tgt 3 usable=0 bavail=9003266 ffree=185050 tgtppo=5508093 tgtp=156228003 svrppo=41310704 svrp=123932114 wt=1346846106
      00000020:00001000:126.0:1734107045.877013:0:28721:0:(lu_tgt_descs.c:677:ltd_qos_update()) recalc tgt 4 usable=1 bavail=0 ffree=0 tgtppo=0 tgtp=0 svrppo=0 svrp=0 wt=0
      00000020:00001000:126.0:1734107045.877013:0:28721:0:(lu_tgt_descs.c:677:ltd_qos_update()) recalc tgt 5 usable=1 bavail=0 ffree=0 tgtppo=0 tgtp=0 svrppo=0 svrp=0 wt=0
      00000020:00001000:126.0:1734107045.877014:0:28721:0:(lu_tgt_descs.c:677:ltd_qos_update()) recalc tgt 6 usable=1 bavail=0 ffree=0 tgtppo=0 tgtp=0 svrppo=0 svrp=0 wt=0
      00000020:00001000:126.0:1734107045.877014:0:28721:0:(lu_tgt_descs.c:677:ltd_qos_update()) recalc tgt 7 usable=1 bavail=0 ffree=0 tgtppo=0 tgtp=0 svrppo=0 svrp=0 wt=0
      00000020:00001000:126.0:1734107045.877015:0:28721:0:(lu_tgt_descs.c:677:ltd_qos_update()) recalc tgt 8 usable=1 bavail=0 ffree=0 tgtppo=0 tgtp=0 svrppo=0 svrp=0 wt=0
      00000020:00001000:126.0:1734107045.877016:0:28721:0:(lu_tgt_descs.c:677:ltd_qos_update()) recalc tgt 9 usable=1 bavail=0 ffree=0 tgtppo=0 tgtp=0 svrppo=0 svrp=0 wt=0
      00000020:00001000:126.0:1734107045.877016:0:28721:0:(lu_tgt_descs.c:677:ltd_qos_update()) recalc tgt 10 usable=1 bavail=0 ffree=0 tgtppo=0 tgtp=0 svrppo=0 svrp=0 wt=0
      00000020:00001000:126.0:1734107045.877017:0:28721:0:(lu_tgt_descs.c:677:ltd_qos_update()) recalc tgt 11 usable=1 bavail=0 ffree=0 tgtppo=0 tgtp=0 svrppo=0 svrp=0 wt=0
      00000020:00001000:126.0:1734107045.877017:0:28721:0:(lu_tgt_descs.c:677:ltd_qos_update()) recalc tgt 12 usable=1 bavail=0 ffree=0 tgtppo=0 tgtp=0 svrppo=0 svrp=0 wt=0
      00000020:00001000:126.0:1734107045.877018:0:28721:0:(lu_tgt_descs.c:677:ltd_qos_update()) recalc tgt 13 usable=1 bavail=0 ffree=0 tgtppo=0 tgtp=0 svrppo=0 svrp=0 wt=0
      00000020:00001000:126.0:1734107045.877018:0:28721:0:(lu_tgt_descs.c:677:ltd_qos_update()) recalc tgt 14 usable=1 bavail=0 ffree=0 tgtppo=0 tgtp=0 svrppo=0 svrp=0 wt=0
      00000020:00001000:126.0:1734107045.877019:0:28721:0:(lu_tgt_descs.c:677:ltd_qos_update()) recalc tgt 15 usable=1 bavail=0 ffree=0 tgtppo=0 tgtp=0 svrppo=0 svrp=0 wt=0

       

      Attachments

        Issue Links

          Activity

            [LU-18672] MDT statfs not updated soon enough

            "Max Wang <wamax@amazon.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/57888
            Subject: LU-18672 lmv: update stale tgt statfs if uninitialized
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: b671adfd22f60e50011097d449bad290d2c6b16f

            gerrit Gerrit Updater added a comment - "Max Wang <wamax@amazon.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/57888 Subject: LU-18672 lmv: update stale tgt statfs if uninitialized Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: b671adfd22f60e50011097d449bad290d2c6b16f

            People

              wamax Max Wang
              wamax Max Wang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: