[LU-15425] "lfs migrate" and "lfs_migrate" to accept list of FIDs Created: 10/Jan/22 Updated: 01/Jun/22 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Andreas Dilger | Assignee: | WC Triage |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||
| Rank (Obsolete): | 9223372036854775807 | ||||
| Epic Link: | OST rebalance v1 | ||||
| Description |
|
The "lfs migrate" and "lfs_migrate" commands should accept a list of FIDs instead of filenames on the command-line with the "--fids" option. This will allow them to use the "llapi_open_by_fid[_at]()" interface internally to open the files instead of doing pathname resolution, and improve integration into pipelines that produce FIDs instead of filenames (e.g. Changelogs) without the need to produce an intermediate pathname. |