summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDaejun Park <daejun7.park@samsung.com>2026-11-09 17:26:56 +0900
committerCarlos Maiolino <cem@kernel.org>2026-11-16 11:21:54 +0100
commit0d8026c7ac0c79a8ebe2942a3c3114c06aced734 (patch)
tree13f8bc3f6b9ebe74c4dc48f12700c55f6d62cb2c /tools/perf/scripts/python
parent6fe08320c38cc1165dc9193dcd3aa5539a6f9e73 (diff)
xfs: break layouts before swapping extents
XFS_IOC_SWAPEXT does not break pNFS layouts. A client can keep writing to blocks that the swap moved to the temporary file. xfs_fsr frees those blocks when it closes that file. The writes then land in whatever reuses them. Lock with xfs_ilock2_io_mmap(), as the exchange-range ioctls do. Fixes: 781355c6e5ae ("xfs: recall pNFS layouts on conflicting access") 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')
0 files changed, 0 insertions, 0 deletions