]> git.baikalelectronics.ru Git - kernel.git/commit
pNFS/flexfiles: Ensure we always return a layout if it has layoutstats
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 23 Jun 2018 15:42:36 +0000 (11:42 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 26 Jul 2018 20:25:25 +0000 (16:25 -0400)
commit71aad71932859c5b9ca835e4d4ff3b315dbac088
tree3f077f6c597828bd14c6622f4f967667e20feab3
parent71773e393fe081914f5f82391070b44eb4b10c7b
pNFS/flexfiles: Ensure we always return a layout if it has layoutstats

If a layout segment is carrying layoutstats or layout error information,
then we always want to return it rather than using a forgetful model.

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