Centos-kernel-stream-9/fs/nfs/flexfilelayout
Benjamin Coddington 29b928da8e pnfs/flexfiles: retry getting layout segment for reads
JIRA: https://issues.redhat.com/browse/RHEL-87767

commit eb3fabde15bccdf34f1c9b35a83aa4c0dacbb4ca
Author: Mike Snitzer <snitzer@kernel.org>
Date:   Thu Jan 16 20:05:39 2025 -0500

    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>

Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
2025-04-17 14:48:58 -04:00
..
Makefile
flexfilelayout.c pnfs/flexfiles: retry getting layout segment for reads 2025-04-17 14:48:58 -04:00
flexfilelayout.h NFS/flexfiles: Annotate struct nfs4_ff_layout_segment with __counted_by 2024-06-27 08:14:00 -04:00
flexfilelayoutdev.c NFS: Allow setting rsize / wsize to a multiple of PAGE_SIZE 2022-12-21 09:49:09 -05:00