[LU-15194] fix unusual readahead window behavior with single page reads Created: 03/Nov/21  Updated: 03/Nov/21

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

Type: Improvement Priority: Minor
Reporter: Patrick Farrell Assignee: Patrick Farrell
Resolution: Unresolved Votes: 0
Labels: None

Rank (Obsolete): 9223372036854775807

 Description   

Readahead has a bit of odd behavior with single page reads.  The first page read does not cause the readahead code to be called, so it doesn't learn the actual RPC size data.

That means if the first read is a single page read and the next read triggers readahead, the size of the readahead is MAX_BRW_PAGES - so the readahead window is set to 64 MiB, even if the RPC size is set to 1 MiB or 4 MiB!



 Comments   
Comment by Gerrit Updater [ 03/Nov/21 ]

"Patrick Farrell <pfarrell@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/45452
Subject: LU-15194 llite: Fix page size readahead window
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: fec4ab8721483b4785c1f780e3dc428295947cfc

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