Files
linux/fs
Andreas Gruenbacher 554c577cee gfs2: Prevent endless loops in gfs2_file_buffered_write
Currently, instead of performing a short write,
iomap_file_buffered_write will fail when part of its iov iterator cannot
be read.  In contrast, gfs2_file_buffered_write will loop around if it
can read part of the iov iterator, so we can end up in an endless loop.

This should be fixed in iomap_file_buffered_write (and also
generic_perform_write), but this comes a bit late in the 5.16
development cycle, so work around it in the filesystem by
trimming the iov iterator to the known-good size for now.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
2021-11-10 18:22:37 +01:00
..
2021-08-19 09:02:55 +09:00
2021-10-25 19:11:50 -07:00
2021-08-26 22:28:02 +02:00
2021-09-10 09:46:48 -07:00
2021-10-18 14:43:23 -06:00
2021-10-18 14:43:23 -06:00
2021-08-19 09:02:55 +09:00
2021-10-18 14:43:22 -06:00
2021-10-26 19:08:08 +02:00
2021-10-19 05:49:54 -06:00
2021-06-29 10:53:48 -07:00
2021-10-19 14:11:39 -04:00
2021-08-18 22:08:24 +02:00
2021-08-10 17:57:22 +02:00