[LU-13683] lfs migrate on non-existing file returns exit code 0 Created: 16/Jun/20 Updated: 11/May/21 Resolved: 19/Nov/20 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.14.0, Lustre 2.12.5 |
| Fix Version/s: | Lustre 2.14.0 |
| Type: | Bug | Priority: | Trivial |
| Reporter: | Sebastien Piechurski | Assignee: | Sebastien Piechurski |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
Since merge of
The non-existing file is caught earlier than before by the call to llapi_layout_get_by_path() in lfs_setstripe_internal(), which does not return error code. However, it sets errno in case of failure, but this is not used by the caller, which gets out without setting the exit code. |
| Comments |
| Comment by Gerrit Updater [ 16/Jun/20 ] |
|
Sebastien Piechurski (sebastien.piechurski@atos.net) uploaded a new patch: https://review.whamcloud.com/38953 |
| Comment by Gerrit Updater [ 19/Nov/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38953/ |
| Comment by Gerrit Updater [ 19/Nov/20 ] |
|
Sebastien Piechurski (sebastien.piechurski@atos.net) uploaded a new patch: https://review.whamcloud.com/40709 |
| Comment by Peter Jones [ 19/Nov/20 ] |
|
Landed for 2.14 |
| Comment by Olaf Faaland [ 11/May/21 ] |
|
Peter, |
| Comment by Peter Jones [ 11/May/21 ] |
|
We take a conservative approach on what we land for the LTS releases to limit the amount of risk/change that goes into each release. This means that just because something could be included that it necessarily will. |