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

POSIX copytool option "--report" is non-obvious and functionality is broken

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.6.0, Lustre 2.5.1
    • None
    • None
    • 3
    • HSM
    • 12349

    Description

      The POSIX copytool supports a "--report N" option, where N is an interval in seconds between copytool progress reports to the CDT. This option is intended to allow a change from the default interval of 30 seconds. At least, this is what the code indicates is expected to happen. Unfortunately, it seems supplying this option with any positive integer (other values were not tested) results in the copytool attempting to send reports many times per second. There is also no short version of the switch.

      In a forthcoming patch, I intend to fix this bug and also propose a rename of the "-report" option to "-update-progress, -u".

      Attachments

        Activity

          [LU-4512] POSIX copytool option "--report" is non-obvious and functionality is broken

          landed on
          master: 8ddf4e2aa863e3100a3dff916821f2739e9427cd
          b2_5: 9059ed44eff9e33afa0da7cc1f0e1311830293e4

          mjmac Michael MacDonald (Inactive) added a comment - landed on master: 8ddf4e2aa863e3100a3dff916821f2739e9427cd b2_5: 9059ed44eff9e33afa0da7cc1f0e1311830293e4

          b2_5: http://review.whamcloud.com/#/c/8934/
          master: http://review.whamcloud.com/#/c/9034/

          Both have +1 from Jenkins/Maloo, and the b2_5 changeset has 3 +1 code-reviews.

          mjmac Michael MacDonald (Inactive) added a comment - b2_5: http://review.whamcloud.com/#/c/8934/ master: http://review.whamcloud.com/#/c/9034/ Both have +1 from Jenkins/Maloo, and the b2_5 changeset has 3 +1 code-reviews.

          Patch created for master too: http://review.whamcloud.com/#/c/9034/

          The b2_5-based patch has 2 +1s for code review and a +1 from Maloo.

          mjmac Michael MacDonald (Inactive) added a comment - - edited Patch created for master too: http://review.whamcloud.com/#/c/9034/ The b2_5-based patch has 2 +1s for code review and a +1 from Maloo.

          Doug: Not for me to say, though I will point out that --report was completely undocumented to begin with.

          mjmac Michael MacDonald (Inactive) added a comment - Doug: Not for me to say, though I will point out that --report was completely undocumented to begin with.

          Does this need an LUDOC ticket?

          doug Doug Oucharek (Inactive) added a comment - Does this need an LUDOC ticket?
          mjmac Michael MacDonald (Inactive) added a comment - Fix pushed for review: http://review.whamcloud.com/#/c/8934/

          People

            mjmac Michael MacDonald (Inactive)
            mjmac Michael MacDonald (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: