summaryrefslogtreecommitdiff
path: root/fs/sysfs/dir.c
diff options
context:
space:
mode:
authorTrond Myklebust <trondmy@gmail.com>2018-08-01 21:28:57 +0300
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2018-08-08 23:50:03 +0300
commit2230ca0d284e6431ae7baf444f49f662bb490a58 (patch)
tree99fd7b4aeb3a2c3f2bec4ac65226c544039396b5 /fs/sysfs/dir.c
parent01e03bdc745bf2b86fadfc44e57512fd39f9d54f (diff)
downloadlinux-2230ca0d284e6431ae7baf444f49f662bb490a58.tar.xz
pnfs: pnfs_find_lseg() should not check NFS_LSEG_LAYOUTRETURN
Layout segment validity is determined only by the NFS_LSEG_VALID flag. If it is set, the layout segment is finable. As it is, when the flexfiles driver sets NFS_LSEG_LAYOUTRETURN to indicate that we cannot discard the layout segment, but that it must be returned, then this can result in an unnecessary layoutget storm. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/sysfs/dir.c')
0 files changed, 0 insertions, 0 deletions