mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:41:42 +00:00
7a9d43eace
When direct I/O completions invalidates the page cache it holds neither the i_rwsem nor the invalidate_lock so it can be racing with iomap_write_delalloc_release. If the search for the end of the region that contains data returns the start offset we hit such a race and just need to look for the end of the newly created hole instead. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20240910043949.3481298-2-hch@lst.de Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Christian Brauner <brauner@kernel.org> |
||
---|---|---|
.. | ||
buffered-io.c | ||
direct-io.c | ||
fiemap.c | ||
iter.c | ||
Makefile | ||
seek.c | ||
swapfile.c | ||
trace.c | ||
trace.h |