[LU-15362] silent failure of layout component delete Created: 12/Dec/21 Updated: 06/Jan/22 Resolved: 06/Jan/22 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.15.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Li Xi | Assignee: | Li Xi |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
When --component-id is missing in the command of delelting layout component, there will be no error message. Thus, the failure of the command could be easily ignored. And event the return value is checked, it is hard to understand why it failure. A fix patch is coming. Reproduce: Before fix patch: # lfs setstripe --component-del 2 # echo $? 22 After fix patch: # lfs setstripe --component-del 2 lfs setstripe: neither flags nor component ID is specified # echo $? 22 |
| Comments |
| Comment by Li Xi [ 12/Dec/21 ] |
| Comment by Gerrit Updater [ 06/Jan/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45833/ |
| Comment by Peter Jones [ 06/Jan/22 ] |
|
Landed for 2.15 |