[LU-13532] hsm_restore fails for a non-released dirty file Created: 07/May/20 Updated: 07/May/20 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | John Hammond | Assignee: | WC Triage |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
lfs hsm_restore (and the MDT side handler) silently ignore never-archived and non-released files unless the file is dirty. We should also silently ignore non-released dirty files. Doing so (by a small change in hsm_action_is_needed()) has no bad side effects but does require that sanity-hsm test_12e() be rewritten. Doing it this way (with some other changes) would allow find ... -type -f -exec lfs hsm_restore {} \; or find ... -type -f -exec lfs hsm_restore {} + or similar to run without errors. |