linux_dsm_epyc7002/fs/nfs/flexfilelayout
Trond Myklebust 563c53e73b NFS: Fix flexfiles read failover
The current mirrored read failover code is correctly resetting the mirror
index between failed reads, however it is not able to actually flip the
RPC call over to the next RPC client.
The end result is that we keep resending the RPC call to the same client
over and over.

The fix is to use the pnfs_read_resend_pnfs() mechanism to schedule a
new RPC call, but we need to add the ability to pass in a mirror
index so that we always retry the next mirror in the list.

Fixes: 166bd5b889 ("pNFS/flexfiles: Fix layoutstats handling during read failovers")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
2020-08-12 11:20:29 -04:00
..
flexfilelayout.c NFS: Fix flexfiles read failover 2020-08-12 11:20:29 -04:00
flexfilelayout.h pNFS/flexfiles: Simplify allocation of the mirror array 2020-03-26 10:52:04 -04:00
flexfilelayoutdev.c pnfs/flexfiles: Fix PTR_ERR() dereferences in ff_layout_track_ds_error 2019-07-18 14:43:52 -04:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00