linux/fs/iomap
Christoph Hellwig b784951662 iomap: move locking out of iomap_write_delalloc_release
XFS (which currently is the only user of iomap_write_delalloc_release)
already holds invalidate_lock for most zeroing operations.  To be able
to avoid a deadlock it needs to stop taking the lock, but doing so
in iomap would leak XFS locking details into iomap.

To avoid this require the caller to hold invalidate_lock when calling
iomap_write_delalloc_release instead of taking it there.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
2024-10-15 11:37:42 +02:00
..
buffered-io.c iomap: move locking out of iomap_write_delalloc_release 2024-10-15 11:37:42 +02:00
direct-io.c iomap: remove set_memor_ro() on zero page 2024-09-03 15:01:23 +02:00
fiemap.c
iter.c
Makefile
seek.c
swapfile.c
trace.c
trace.h