aboutsummaryrefslogtreecommitdiffstats
path: root/lib/timerqueue.c
diff options
context:
space:
mode:
authorMike Snitzer <[email protected]>2025-01-17 01:05:39 +0000
committerAnna Schumaker <[email protected]>2025-01-22 19:26:46 +0000
commiteb3fabde15bccdf34f1c9b35a83aa4c0dacbb4ca (patch)
treefbb129efc8a6ff13ec328f720fe6ff3174fb0f5e /lib/timerqueue.c
parentNFSv4.2: make LAYOUTSTATS and LAYOUTERROR MOVEABLE (diff)
downloadkernel-eb3fabde15bccdf34f1c9b35a83aa4c0dacbb4ca.tar.gz
kernel-eb3fabde15bccdf34f1c9b35a83aa4c0dacbb4ca.zip
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: [email protected] Signed-off-by: Mike Snitzer <[email protected]> Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions