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

wait_delete_completed() fstrim can be very noisy

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • Lustre 2.17.0
    • Lustre 2.16.0
    • 3
    • 9223372036854775807

      When wait_delete_completed() is run, this can be very noisy if fstrim is not supported on the device:

      CMD: trevis-76vm5 fstrim -v /mnt/lustre-ost1
      CMD: trevis-76vm5 fstrim -v /mnt/lustre-ost2
      CMD: trevis-76vm5 fstrim -v /mnt/lustre-ost5
      CMD: trevis-76vm5 fstrim -v /mnt/lustre-ost3
      :
      trevis-76vm5: fstrim: /mnt/lustre-ost7: the discard operation is not supported
      pdsh@trevis-80vm4: trevis-76vm5: ssh exited with exit code 1
      trevis-76vm5: fstrim: /mnt/lustre-ost5: the discard operation is not supported
      pdsh@trevis-80vm4: trevis-76vm5: ssh exited with exit code 1
      trevis-76vm5: fstrim: /mnt/lustre-ost4: the discard operation is not supported
      pdsh@trevis-80vm4: trevis-76vm5: ssh exited with exit code 1
      trevis-76vm5: fstrim: /mnt/lustre-ost2: the discard operation is not supported
      pdsh@trevis-80vm4: trevis-76vm5: ssh exited with exit code 1
      :
      

      If fstrim is not working on a device, then autotest should remember this and not try to trim the device over and over again.

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

              Created:
              Updated:
              Resolved: