2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/fs/nfs/flexfilelayout
Mike Snitzer eb3fabde15 pnfs/flexfiles: retry getting layout segment for reads
If ff_layout_pg_get_read()'s attempt to get a layout segment results
in -EAGAIN have ff_layout_pg_init_read() retry it after sleeping.

If "softerr" mount is used, use 'io_maxretrans' to limit the number of
attempts to get a layout segment.

This fixes a long-standing issue of O_DIRECT reads failing with
-EAGAIN (11) when using flexfiles Client Side Mirroring (CSM).

Cc: stable@vger.kernel.org
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
2025-01-22 14:26:46 -05:00
..
flexfilelayout.c pnfs/flexfiles: retry getting layout segment for reads 2025-01-22 14:26:46 -05:00
flexfilelayout.h nfs: cache all open LOCALIO nfsd_file(s) in client 2025-01-14 17:04:05 -05:00
flexfilelayoutdev.c pnfs/flexfiles: enable localio support 2024-09-23 15:03:30 -04:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00