[LU-5231] HSM: incorrect progress reported by lfs hsm_action Created: 18/Jun/14 Updated: 03/Sep/15 |
|
| Status: | Reopened |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.6.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Frank Zago (Inactive) | Assignee: | WC Triage |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | HSM, patch | ||
| Environment: |
Centos 6.5 |
||
| Attachments: |
|
| Severity: | 3 |
| Rank (Obsolete): | 14572 |
| Description |
|
While archiving a 5GiB file on a client: # ls -l bigf -rw-r--r-- 1 root root 5129887744 Jun 18 16:48 bigf # lfs hsm_archive bigf I repeatedly checked the progress with lfs hsm_action: bigf: ARCHIVE running (0xa00000 bytes moved) ... bigf: ARCHIVE running (0x3200000 bytes moved) ... bigf: ARCHIVE running (0x6400000 bytes moved) ... ... ... bigf: ARCHIVE running (0x1a0e500000 bytes moved) ... bigf: NOOP The last result should have been close to 5 GiB, instead it was 0x1a0e500000 = 111909273600 = 104GiB It appears the (correct) lengths sent by the copytool through llapi_hsm_action_progress() are being added somewhere in the kernel modules. Also, is there a reason for the reported size to be written in hex? It's not convenient. |
| Comments |
| Comment by Frank Zago (Inactive) [ 18/Jun/14 ] |
|
copytool is standard posix copytool. |
| Comment by Vinayak Hariharmath (Inactive) [ 22/Sep/14 ] |
|
Posted changes for fixing this issue on b2_6 |
| Comment by Peter Jones [ 22/Sep/14 ] |
|
Vinayak Could you please push your proposed patch against master? Thanks Peter |
| Comment by Vinayak Hariharmath (Inactive) [ 23/Sep/14 ] |
|
Hi Peter, Pushed the changes to master branch. Thanks, |
| Comment by Vinayak Hariharmath (Inactive) [ 26/Sep/14 ] |
|
Please observe the comments and kernel logs below. |
| Comment by Gerrit Updater [ 06/Feb/15 ] |
|
frank zago (fzago@cray.com) uploaded a new patch: http://review.whamcloud.com/13678 |
| Comment by Gerrit Updater [ 08/Mar/15 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/13678/ |
| Comment by Peter Jones [ 07/Jul/15 ] |
|
Landed for 2.8 |
| Comment by Cory Spitz [ 03/Sep/15 ] |
|
I'm not sure why this ticket was marked resolved when http://review.whamcloud.com/12020 is still pending. |
| Comment by Peter Jones [ 03/Sep/15 ] |
|
My overzealousness I'm afraid - sorry. Reopening |