diff options
author | Andy Adamson <andros@netapp.com> | 2010-10-20 00:17:57 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-10-24 18:07:09 -0400 |
commit | 504913fbc84c00bba7224d73e4aab525c1731f7d (patch) | |
tree | 714cbd975b3786486a93df5aa8cca27dc626033f /fs/nfs/nfs4proc.c | |
parent | 9449925273933d19235d7d36c1fd970841d055de (diff) |
NFS: ask for layouttypes during v4 fsinfo call
This information will be used to determine which layout driver,
if any, to use for subsequent IO on this filesystem. Each driver
is assigned an integer id, with 0 reserved to indicate no driver.
The server can in theory return multiple ids. However, our current
client implementation only notes the first entry and ignores the
rest.
Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: Fred Isaman <iisaman@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r-- | fs/nfs/nfs4proc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index e87fe612ca18..a5f1edb45b47 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
@@ -130,6 +130,7 @@ const u32 nfs4_fsinfo_bitmap[2] = { FATTR4_WORD0_MAXFILESIZE | |||
130 | | FATTR4_WORD0_MAXWRITE | 130 | | FATTR4_WORD0_MAXWRITE |
131 | | FATTR4_WORD0_LEASE_TIME, | 131 | | FATTR4_WORD0_LEASE_TIME, |
132 | FATTR4_WORD1_TIME_DELTA | 132 | FATTR4_WORD1_TIME_DELTA |
133 | | FATTR4_WORD1_FS_LAYOUT_TYPES | ||
133 | }; | 134 | }; |
134 | 135 | ||
135 | const u32 nfs4_fs_locations_bitmap[2] = { | 136 | const u32 nfs4_fs_locations_bitmap[2] = { |