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
..
2019-07-03 14:45:18 +02:00
2021-06-29 10:56:51 +02:00
2021-06-29 10:56:51 +02:00
2021-10-25 08:42:19 +02:00
2021-10-25 08:42:19 +02:00
2021-10-25 08:42:19 +02:00
2021-10-25 08:42:19 +02:00
2021-04-29 10:33:35 -07:00
2021-08-19 12:31:17 -05:00
2021-06-29 10:56:51 +02:00
2021-10-25 08:42:19 +02:00
2021-10-25 08:42:18 +02:00
2021-04-08 15:07:21 +02:00