diff options
author | Mike Snitzer <snitzer@kernel.org> | 2025-01-17 04:05:39 +0300 |
---|---|---|
committer | Anna Schumaker <anna.schumaker@oracle.com> | 2025-01-22 22:26:46 +0300 |
commit | eb3fabde15bccdf34f1c9b35a83aa4c0dacbb4ca (patch) | |
tree | fbb129efc8a6ff13ec328f720fe6ff3174fb0f5e /scripts/gdb/linux/lists.py | |
parent | 0b96c75d86560c077d29ce629e9d1ca0258c9cc1 (diff) | |
download | linux-eb3fabde15bccdf34f1c9b35a83aa4c0dacbb4ca.tar.xz |
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>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions