[LU-14390] A change in LU-13004 wrongly switched to round_up() instead of DIV_ROUND_UP(). Created: 31/Jan/21  Updated: 26/Feb/21  Resolved: 26/Feb/21

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

Type: Bug Priority: Minor
Reporter: Shaun Tancheff Assignee: Shaun Tancheff
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-13004 Use a single style of IO buf descript... Resolved
Story Points: 1
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Use DIV_ROUND_UP to (re)calculate niov rather than round_up which results in a multiple PAGE_SIZE.



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

Shaun Tancheff (shaun.tancheff@hpe.com) uploaded a new patch: https://review.whamcloud.com/41371
Subject: LU-14390 gnilnd: Use DIV_ROUND_UP to calculate niov
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: b84686e4a36deef0d96ecd92611d5c1201ff85ae

Comment by Gerrit Updater [ 26/Feb/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/41371/
Subject: LU-14390 gnilnd: Use DIV_ROUND_UP to calculate niov
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 3117913e21adb941e0ef3467ff7588d5e5fbc6e4

Comment by Peter Jones [ 26/Feb/21 ]

Landed for 2.15

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