summaryrefslogtreecommitdiff
path: root/fs/nfs/flexfilelayout/flexfilelayout.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2019-02-27 23:46:04 -0500
committerTrond Myklebust <trond.myklebust@hammerspace.com>2019-03-01 22:37:37 -0500
commit0a156dd58274b0b847118966365203955288f4c6 (patch)
tree262a60db11824a39274be96c5508012e3bad8b2a /fs/nfs/flexfilelayout/flexfilelayout.c
parent2444ff277a686d743b5479dd52d8357c21d5ce13 (diff)
downloadlinux-0a156dd58274b0b847118966365203955288f4c6.tar.gz
NFS/flexfiles: Avoid unnecessary layout invalidations
In ff_layout_mirror_valid() we may not want to invalidate the layout segment despite the call to GETDEVICEINFO failing. The reason is that a read may still be able to make progress on another mirror. So instead we let the caller (in this case nfs4_ff_layout_prepare_ds()) decide whether or not it needs to invalidate. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/flexfilelayout/flexfilelayout.c')
0 files changed, 0 insertions, 0 deletions