summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorDaejun Park <daejun7.park@samsung.com>2026-11-10 09:38:17 +0900
committerCarlos Maiolino <cem@kernel.org>2026-11-16 11:22:27 +0100
commit844bc1167f1b2d19d9495a556599af24dc4468bd (patch)
tree4030f72fe0e753c495d60038ffd22bf0a0d6269d /tools/perf/scripts/python/bin
parent0d8026c7ac0c79a8ebe2942a3c3114c06aced734 (diff)
xfs: wait for direct I/O before swapping extents
An AIO direct write drops the iolock before its bios complete. XFS_IOC_SWAPEXT does not wait for it. The write can land in blocks that the swap moved to the temporary file. Once xfs_fsr frees them, the write corrupts whatever reuses them. Wait for direct I/O first, as exchange-range does. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Cc: stable@vger.kernel.org Signed-off-by: Daejun Park <daejun7.park@samsung.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions