summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-10-08 11:59:17 +0300
committerCarlos Maiolino <cem@kernel.org>2024-10-15 12:37:42 +0300
commitabd7d651ad2cd2ab1b8cd4dd31e80a8255196db3 (patch)
treed1d5622a1f2e215af11a5a88ce7578e0b0c9df2f /tools/perf/scripts/python/export-to-postgresql.py
parentacfbac776496f2093e9facf7876b4015ef8c3d1d (diff)
downloadlinux-abd7d651ad2cd2ab1b8cd4dd31e80a8255196db3.tar.xz
xfs: IOMAP_ZERO and IOMAP_UNSHARE already hold invalidate_lock
All XFS callers of iomap_zero_range and iomap_file_unshare already hold invalidate_lock, so we can't take it again in iomap_file_buffered_write_punch_delalloc. Use the passed in flags argument to detect if we're called from a zero or unshare operation and don't take the lock again in this case. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions