[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.
http://review.whamcloud.com/#/c/9412/

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

Generated at Sat Feb 10 01:44:52 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.