[LU-4512] POSIX copytool option "--report" is non-obvious and functionality is broken Created: 20/Jan/14  Updated: 10/Feb/14  Resolved: 10/Feb/14

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.6.0, Lustre 2.5.1

Type: Bug Priority: Minor
Reporter: Michael MacDonald (Inactive) Assignee: Michael MacDonald (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Project: HSM
Rank (Obsolete): 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".



 Comments   
Comment by Michael MacDonald (Inactive) [ 21/Jan/14 ]

Fix pushed for review: http://review.whamcloud.com/#/c/8934/

Comment by Doug Oucharek (Inactive) [ 22/Jan/14 ]

Does this need an LUDOC ticket?

Comment by Michael MacDonald (Inactive) [ 22/Jan/14 ]

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

Comment by Michael MacDonald (Inactive) [ 29/Jan/14 ]

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.

Comment by Michael MacDonald (Inactive) [ 31/Jan/14 ]

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.

Comment by Michael MacDonald (Inactive) [ 10/Feb/14 ]

landed on
master: 8ddf4e2aa863e3100a3dff916821f2739e9427cd
b2_5: 9059ed44eff9e33afa0da7cc1f0e1311830293e4

Generated at Sat Feb 10 01:43:23 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.