summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2020-08-11 13:36:32 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-08-21 13:15:18 +0200
commite39eefbc17083fd77650e2f0a8071e3a0574f6d4 (patch)
treede602646c480eabc412e727877104f83e093ae6e /tools/perf/scripts/python/export-to-postgresql.py
parent266bc13be47ace4bc434dc1617bb5550aeceea4f (diff)
NFS: Fix flexfiles read failover
[ Upstream commit 563c53e73b8b6ec842828736f77e633f7b0911e9 ] 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: 166bd5b889ac ("pNFS/flexfiles: Fix layoutstats handling during read failovers") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions