[LU-4096] Do not allocate large buffer for readdir rpc in case of a small directory Created: 11/Oct/13  Updated: 01/May/23  Resolved: 01/May/23

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

Type: Improvement Priority: Minor
Reporter: Jodi Levi (Inactive) Assignee: WC Triage
Resolution: Duplicate Votes: 0
Labels: cdwgbl

Issue Links:
Duplicate
duplicates LU-3308 large readdir chunk size slows unlink... Reopened
Related
is related to LU-10999 Use readdir cache for lookup when ava... Open
Rank (Obsolete): 11005

 Description   

Notes from Oleg:
Sincewe know the directory size at readdir time, we can estimate if we actually need a large buffer for readdir or not. This is not certain, but a good guess. additionally we can check mtime and if it's very recent, we might want to allow a slightly bigger buffer still to accounf for the possible directory growth"


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