[LU-14337] return valid stripe_count and stripe_size instead of 0 for DoM files Created: 18/Jan/21  Updated: 30/Aug/23  Resolved: 30/Mar/21

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

Type: Bug Priority: Minor
Reporter: Emoly Liu Assignee: Emoly Liu
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-14316 lfs: using old ioctl(LL_IOC_LOV_GETST... Open
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Return valid stripe_count and stripe_size instead of 0 for DoM files to avoid divide-by-zero for older userspace that calls this ioctl, e.g. lustre ADIO driver.



 Comments   
Comment by Gerrit Updater [ 19/Jan/21 ]

Emoly Liu (emoly@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/41265
Subject: LU-14337 lov: return stripe_count=1 instead of 0 for DoM files
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 95ff0213479a740858ce2d4447ed86668d904235

Comment by Gerrit Updater [ 25/Jan/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/41265/
Subject: LU-14337 lov: return stripe_count=1 instead of 0 for DoM files
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: b538826f2bdb39b5dda5bd1131b5b715c51d0bcd

Comment by Peter Jones [ 25/Jan/21 ]

Landed for 2.14

Comment by Gerrit Updater [ 02/Mar/21 ]

Emoly Liu (emoly@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/41803
Subject: LU-14337 lov: return valid stripe_size for DoM files
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 92aa8163693bfc707de757943f86c9e0897941a7

Comment by Gerrit Updater [ 30/Mar/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/41803/
Subject: LU-14337 lov: return valid stripe_count/size for PFL files
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: abf04e7ea356e8b1523e4183d5c46c0462f1f605

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