aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/filelayout/filelayout.h
diff options
context:
space:
mode:
authorAndy Adamson <andros@netapp.com>2017-03-20 18:07:01 -0400
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2017-03-28 11:21:52 -0400
commit629dc8704b922f0c46f3025bd3486c2bc51eb7a6 (patch)
treefb4035c8f763edc8ee9d2ffa7607ceec50b3c71b /fs/nfs/filelayout/filelayout.h
parentNFS cleanup struct nfs4_filelayout_segment (diff)
downloadlinux-dev-629dc8704b922f0c46f3025bd3486c2bc51eb7a6.tar.xz
linux-dev-629dc8704b922f0c46f3025bd3486c2bc51eb7a6.zip
NFS store nfs4_deviceid in struct nfs4_filelayout_segment
In preparation for moving the filelayout getdeviceinfo call from filelayout_alloc_lseg called by pnfs_process_layout Signed-off-by: Andy Adamson <andros@netapp.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/filelayout/filelayout.h')
-rw-r--r--fs/nfs/filelayout/filelayout.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/filelayout/filelayout.h b/fs/nfs/filelayout/filelayout.h
index 4c4d436a6796..79323b5dab0c 100644
--- a/fs/nfs/filelayout/filelayout.h
+++ b/fs/nfs/filelayout/filelayout.h
@@ -61,6 +61,7 @@ struct nfs4_filelayout_segment {
u32 stripe_unit;
u32 first_stripe_index;
u64 pattern_offset;
+ struct nfs4_deviceid deviceid;
struct nfs4_file_layout_dsaddr *dsaddr; /* Point to GETDEVINFO data */
unsigned int num_fh;
struct nfs_fh **fh_array;