]> git.baikalelectronics.ru Git - kernel.git/commit
pNFS/flexfiles: Fix layoutstats handling during read failovers
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 23 Mar 2019 03:03:56 +0000 (23:03 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 23 Mar 2019 16:03:58 +0000 (12:03 -0400)
commit5953fe82ca88d1445a6ee56ec6426c9c52a1a648
treefa22dd126ec235b34fe3d26328aa8b7f4b0b5aeb
parent744cd4c49f2640258368818413f219cd4adefb19
pNFS/flexfiles: Fix layoutstats handling during read failovers

During a read failover, we may end up changing the value of
the pgio_mirror_idx, so make sure that we record the layout
stats before that update.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/flexfilelayout/flexfilelayout.c