[LU-4676] ct_run() should return -EINVAL when fs_name is invalid Created: 27/Feb/14 Updated: 11/Jun/14 Resolved: 06/May/14 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.6.0, Lustre 2.5.2 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Li Xi (Inactive) | Assignee: | James Nunez (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | hsm, patch | ||
| Severity: | 3 |
| Rank (Obsolete): | 12836 |
| Description |
|
ct_run() returns 0 after find out that fs_name is invalid. lhsmtool_posix will exists with 0 after that error happens. That might mislead scripts calling lhsmtool_posix. |
| Comments |
| Comment by Li Xi (Inactive) [ 27/Feb/14 ] |
|
Please check this patch. |
| Comment by Peter Jones [ 27/Feb/14 ] |
|
James Could you please take care of this patch? Thanks Peter |
| Comment by Robert Read (Inactive) [ 27/Feb/14 ] |
|
Is it possible for this error to actually happen? I'm asking because it's wasn't clear to me why that check is even in there in the first place, but presumably there must be a reason. |
| Comment by James Nunez (Inactive) [ 06/May/14 ] |
|
Patch for b2_5 at http://review.whamcloud.com/#/c/10234/ |
| Comment by James Nunez (Inactive) [ 06/May/14 ] |
|
Landed to master |