[LU-9617] RHEL-7 ext4-prealloc.patch missing error checking Created: 07/Jun/17  Updated: 19/Jul/17  Resolved: 19/Jul/17

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

Type: Improvement Priority: Major
Reporter: Ben Evans (Inactive) Assignee: Yang Sheng
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
Related
is related to LU-3719 divide error in ldiskfs_mb_normalize_... Resolved
Rank (Obsolete): 9223372036854775807

 Description   

For large enough stripes, ext4_mb_prealloc_table_add can fail. However nothing checks the return code, so there are 0's left in the table which can result in div 0 errors.

Patch for RHEL 6.4 and SLES11 is correct.



 Comments   
Comment by Joseph Gmitter (Inactive) [ 08/Jun/17 ]

Hi Yang Sheng,

Could you please look into this one?

Thanks.
Joe

Comment by Yang Sheng [ 16/Jun/17 ]

I'll port LU-3719 patch to other distro in this ticket.

Comment by Yang Sheng [ 21/Jun/17 ]

Patch submit to: https://review.whamcloud.com/27748

Comment by Yang Sheng [ 19/Jul/17 ]

Patch landed to 2.10.

Comment by Peter Jones [ 19/Jul/17 ]

The patch has landed to master for 2.11 - 2.10 went out last week Also, the commit message used the original LU-3719 JIRA reference so this ticket is effectively a duplicate of LU-3719

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