]> 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)
commit5c6570d52a2eb88d221b4088f8528bb3fa758122
treefa22dd126ec235b34fe3d26328aa8b7f4b0b5aeb
parenta5f06b85b47cc65da99bf9d6dac593b28017aa3e
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