[LU-4694] ct_archive() does not handle return value of llapi_hsm_action_get_fd() correctly. Created: 03/Mar/14  Updated: 12/Aug/14  Resolved: 01/Jul/14

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.6.0
Fix Version/s: Lustre 2.6.0, Lustre 2.5.3

Type: Bug Priority: Major
Reporter: Li Xi (Inactive) Assignee: James Nunez (Inactive)
Resolution: Fixed Votes: 0
Labels: HSM, patch

Severity: 3
Rank (Obsolete): 12904

 Description   

errno migh be zero when llapi_hsm_action_get_fd() returns a failure. ct_archive() does not handle it correctly, which might cause HSM take the operation as successful even if it actually fails.



 Comments   
Comment by Li Xi (Inactive) [ 03/Mar/14 ]

Please check this patch.
http://review.whamcloud.com/9455

Comment by Peter Jones [ 03/Mar/14 ]

James

Could you please assess this patch?

Thanks

Peter

Comment by Peter Jones [ 01/Jul/14 ]

Landed for 2.6

Comment by James Nunez (Inactive) [ 24/Jul/14 ]

Patch for b2_5 is at http://review.whamcloud.com/#/c/11221/

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