Files
linux/fs/xfs/libxfs
Jinliang Zheng 915175b49f xfs: fix the entry condition of exact EOF block allocation optimization
When we call create(), lseek() and write() sequentially, offset != 0
cannot be used as a judgment condition for whether the file already
has extents.

Furthermore, when xfs_bmap_adjacent() has not given a better blkno,
it is not necessary to use exact EOF block allocation.

Suggested-by: Dave Chinner <[email protected]>
Signed-off-by: Jinliang Zheng <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Signed-off-by: Carlos Maiolino <[email protected]>
2025-01-24 12:05:12 +01:00
..
…
…
2025-01-13 14:55:06 +01:00
2025-01-13 14:55:14 +01:00
2025-01-13 14:57:08 +01:00