]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - fs/nfs/flexfilelayout/flexfilelayout.c
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)
commit056f9ad62ed2776c80fdddb2eec7f709888618b7
tree3f077f6c597828bd14c6622f4f967667e20feab3
parentf0b429819b5fbcedd1be15da7277292a0431ddd0
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