[LU-14506] lhsmtool_posix uses invalid default values for import Created: 10/Mar/21  Updated: 05/May/21  Resolved: 30/Mar/21

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.15.0

Type: Bug Priority: Minor
Reporter: John Hammond Assignee: John Hammond
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

When lhsmtool_posix calls llapi_hsm_import(), it passes a stripe offset of 0 which is intended to mean "use the default stripe offset". But 0 is a valid stripe offset and we should be passing -1 to do what we mean.



 Comments   
Comment by Gerrit Updater [ 10/Mar/21 ]

John L. Hammond (jhammond@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/41978
Subject: LU-14506 hsm: correct default stripe offset in import
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 85ef96f33fe7328af36dd0b58bd9b8aa39c07785

Comment by Gerrit Updater [ 30/Mar/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/41978/
Subject: LU-14506 hsm: correct default stripe offset in import
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: ea964031d7bdc6f31fccb7f136591b682eb35087

Comment by Peter Jones [ 30/Mar/21 ]

Landed for 2.15

Generated at Sat Feb 10 03:10:21 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.