diff options
| author | Christoph Hellwig <[email protected]> | 2025-08-18 05:06:43 +0000 |
|---|---|---|
| committer | Carlos Maiolino <[email protected]> | 2025-08-19 12:37:07 +0000 |
| commit | d004d70d6cdf03928da0d05c8c15c2ccc15657cd (patch) | |
| tree | 88c726add4d170d5adf40fd9fc272386a331403d /tools/perf/scripts/python/sched-migration.py | |
| parent | xfs: Default XFS_RT to Y if CONFIG_BLK_DEV_ZONED is enabled (diff) | |
| download | kernel-d004d70d6cdf03928da0d05c8c15c2ccc15657cd.tar.gz kernel-d004d70d6cdf03928da0d05c8c15c2ccc15657cd.zip | |
xfs: remove xfs_last_used_zone
This was my first attempt at caching the last used zone. But it turns out
for O_DIRECT or RWF_DONTCACHE that operate concurrently or in very short
sequence, the bmap btree does not record a written extent yet, so it fails.
Because it then still finds the last written zone it can lead to a weird
ping-pong around a few zones with writers seeing different values.
Remove it entirely as the later added xfs_cached_zone actually does a
much better job enforcing the locality as the zone is associated with the
inode in the MRU cache as soon as the zone is selected.
Fixes: 4e4d52075577 ("xfs: add the zoned space allocator")
Signed-off-by: Christoph Hellwig <[email protected]>
Tested-by: Damien Le Moal <[email protected]>
Reviewed-by: Hans Holmberg <[email protected]>
Signed-off-by: Carlos Maiolino <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
