[LU-10256] Provide optional <archive_id> argument for lfs hsm_set and lfs hsm_clear Created: 17/Nov/17 Updated: 19/Dec/17 Resolved: 01/Dec/17 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.10.1 |
| Fix Version/s: | Lustre 2.11.0, Lustre 2.10.3 |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Thomas Stibor | Assignee: | WC Triage |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | HSM | ||
| Environment: |
CentOS 7.4/Debian 8/Lustre 2.10 |
||
| Project: | HSM |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
Setting HSM flags in static int lfs_hsm_change_flags(int argc, char **argv, int mode) does not allow to specify the archive_id, that is, llapi_hsm_state_set(path, mask, 0, 0 /* archive_id */);
archive_id 0 is always set. Add an optional parameter of the form: usage: hsm_set [--norelease=<archive_id>] [--noarchive=<archive_id>]
[--dirty=<archive_id>] [--exists=<archive_id>]
for having full flexibility to specify the archive_id. If archive_id is not provided, then use default value archive_id=0. I will provided a simple patch for this problem |
| Comments |
| Comment by Gerrit Updater [ 17/Nov/17 ] |
|
Thomas Stibor (t.stibor@gsi.de) uploaded a new patch: https://review.whamcloud.com/30150 |
| Comment by Gerrit Updater [ 01/Dec/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30150/ |
| Comment by Peter Jones [ 01/Dec/17 ] |
|
Landed for 2.11 |
| Comment by Gerrit Updater [ 12/Dec/17 ] |
|
Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/30500 |
| Comment by Gerrit Updater [ 19/Dec/17 ] |
|
John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/30500/ |