diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-07-02 23:24:22 +0200 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-07-08 20:03:26 +0200 |
commit | b4e89bcba2b3a966e043107cb52c682bb860cee7 (patch) | |
tree | 90e44489ebdc294971b867814a4cbce8fed10791 /include | |
parent | NFSv4/pnfs: Fix layoutget behaviour after invalidation (diff) | |
download | linux-b4e89bcba2b3a966e043107cb52c682bb860cee7.tar.xz linux-b4e89bcba2b3a966e043107cb52c682bb860cee7.zip |
NFSv4/pnfs: Clean up layout get on open
Cache the layout in the arguments so we don't have to keep looking it up
from the inode.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/nfs_xdr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index 717ecc87c9e7..e9698b6278a5 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h @@ -277,6 +277,7 @@ struct nfs4_layoutget { struct nfs4_layoutget_args args; struct nfs4_layoutget_res res; const struct cred *cred; + struct pnfs_layout_hdr *lo; gfp_t gfp_flags; }; |