summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorHans Holmberg <Hans.Holmberg@wdc.com>2025-05-14 10:50:37 +0000
committerCarlos Maiolino <cem@kernel.org>2025-05-14 19:00:17 +0200
commitf3e2e53823b98d55da46ea72d32ac18bd7709c33 (patch)
tree502a80e446994a68f55f9f485ac46f43d4ee935c /scripts/lib/kdoc/kdoc_files.py
parent70b95cb86513d7f6d084ddc8e961a1cab9022e14 (diff)
xfs: add inode to zone caching for data placement
Placing data from the same file in the same zone is a great heuristic for reducing write amplification and we do this already - but only for sequential writes. To support placing data in the same way for random writes, reuse the xfs mru cache to map inodes to open zones on first write. If a mapping is present, use the open zone for data placement for this file until the zone is full. Signed-off-by: Hans Holmberg <hans.holmberg@wdc.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions