Skip to content
Commit 563c53e7 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

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: 166bd5b8 ("pNFS/flexfiles: Fix layoutstats handling during read failovers")
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent a5032910
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment