[LU-13412] fix read if readahead window smaller than rpc size Created: 03/Apr/20  Updated: 18/Aug/20  Resolved: 27/May/20

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

Type: Improvement Priority: Minor
Reporter: Wang Shilong (Inactive) Assignee: Wang Shilong (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
Rank (Obsolete): 9223372036854775807

 Description   

Readahead always try to align readahead with RPC size, but this
could introduce a problem if readahead window is smaller than RPC size.

With current codes, it will fallback a lot of 4k read because most of readahead stop, fix this to align with readahead window rather than RPC size in this case.



 Comments   
Comment by Gerrit Updater [ 03/Apr/20 ]

Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/38132
Subject: LU-13412 llite: fix read if readahead window smaller than rpc size
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 4e699a5dfa724bbb865e343f408cdbb2411e8a07

Comment by Gerrit Updater [ 27/May/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38132/
Subject: LU-13412 llite: fix read if readahead window smaller than rpc size
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 33d08805f27bb9a4c374754505f2ef5431b9fd31

Comment by Peter Jones [ 27/May/20 ]

Landed for 2.14

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