aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorRicardo Labiaga <Ricardo.Labiaga@netapp.com>2010-10-20 00:17:58 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2010-10-24 18:07:10 -0400
commit85e174ba6b786ad336eb2df105b4f66d0932e70a (patch)
treeeec6b01d897e85c47471f4166201676001c9fd21 /include/linux
parent504913fbc84c00bba7224d73e4aab525c1731f7d (diff)
NFS: set layout driver
Put in the infrastructure that uses information returned from the server at mount to select a layout driver module. In this patch, a stub is used that always returns "no driver found". Signed-off-by: Ricardo Labiaga <Ricardo.Labiaga@netapp.com> Signed-off-by: Dean Hildebrand <dhildebz@umich.edu> Signed-off-by: Marc Eshel <eshel@almaden.ibm.com> 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 'include/linux')
-rw-r--r--include/linux/nfs_fs.h1
-rw-r--r--include/linux/nfs_fs_sb.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h
index d929b1883644..aba3da2a6227 100644
--- a/include/linux/nfs_fs.h
+++ b/include/linux/nfs_fs.h
@@ -615,6 +615,7 @@ nfs_fileid_to_ino_t(u64 fileid)
615#define NFSDBG_CLIENT 0x0200 615#define NFSDBG_CLIENT 0x0200
616#define NFSDBG_MOUNT 0x0400 616#define NFSDBG_MOUNT 0x0400
617#define NFSDBG_FSCACHE 0x0800 617#define NFSDBG_FSCACHE 0x0800
618#define NFSDBG_PNFS 0x1000
618#define NFSDBG_ALL 0xFFFF 619#define NFSDBG_ALL 0xFFFF
619 620
620#ifdef __KERNEL__ 621#ifdef __KERNEL__
diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h
index 5eef862ec187..c38619d95a57 100644
--- a/include/linux/nfs_fs_sb.h
+++ b/include/linux/nfs_fs_sb.h
@@ -145,6 +145,7 @@ struct nfs_server {
145 u32 acl_bitmask; /* V4 bitmask representing the ACEs 145 u32 acl_bitmask; /* V4 bitmask representing the ACEs
146 that are supported on this 146 that are supported on this
147 filesystem */ 147 filesystem */
148 struct pnfs_layoutdriver_type *pnfs_curr_ld; /* Active layout driver */
148#endif 149#endif
149 void (*destroy)(struct nfs_server *); 150 void (*destroy)(struct nfs_server *);
150 151