]> git.karo-electronics.de Git - mv-sheeva.git/commit
NFS: ask for layouttypes during v4 fsinfo call
authorAndy Adamson <andros@netapp.com>
Wed, 20 Oct 2010 04:17:57 +0000 (00:17 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 24 Oct 2010 22:07:09 +0000 (18:07 -0400)
commit504913fbc84c00bba7224d73e4aab525c1731f7d
tree714cbd975b3786486a93df5aa8cca27dc626033f
parent9449925273933d19235d7d36c1fd970841d055de
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>
fs/nfs/nfs4proc.c
fs/nfs/nfs4xdr.c
include/linux/nfs_xdr.h