aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/pnfs.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-01-21 11:40:00 +0100
committerChristoph Hellwig <hch@lst.de>2015-02-05 14:35:18 +0100
commit8650b8a058502d6957ba13dfb5544724fa038118 (patch)
tree38b0135cf5f5692e5f766332b8470ef9050e7980 /fs/nfsd/pnfs.h
parentexportfs: add methods for block layout exports (diff)
downloadlinux-dev-8650b8a058502d6957ba13dfb5544724fa038118.tar.xz
linux-dev-8650b8a058502d6957ba13dfb5544724fa038118.zip
nfsd: pNFS block layout driver
Add a small shim between core nfsd and filesystems to translate the somewhat cumbersome pNFS data structures and semantics to something more palatable for Linux filesystems. Thanks to Rick McNeal for the old prototype pNFS blocklayout server code, which gave a lot of inspiration to this version even if no code is left from it. Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/nfsd/pnfs.h')
-rw-r--r--fs/nfsd/pnfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/pnfs.h b/fs/nfsd/pnfs.h
index a9616a4e13cd..fedb4d620a81 100644
--- a/fs/nfsd/pnfs.h
+++ b/fs/nfsd/pnfs.h
@@ -34,6 +34,7 @@ struct nfsd4_layout_ops {
};
extern const struct nfsd4_layout_ops *nfsd4_layout_ops[];
+extern const struct nfsd4_layout_ops bl_layout_ops;
__be32 nfsd4_preprocess_layout_stateid(struct svc_rqst *rqstp,
struct nfsd4_compound_state *cstate, stateid_t *stateid,