diff options
author | Christoph Hellwig <hch@lst.de> | 2015-01-21 11:40:00 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2015-02-05 14:35:18 +0100 |
commit | 8650b8a058502d6957ba13dfb5544724fa038118 (patch) | |
tree | 38b0135cf5f5692e5f766332b8470ef9050e7980 /fs/nfsd/pnfs.h | |
parent | 7fbc1067f06098c6b674e672fbb17e758fcc9402 (diff) | |
download | op-kernel-dev-8650b8a058502d6957ba13dfb5544724fa038118.zip op-kernel-dev-8650b8a058502d6957ba13dfb5544724fa038118.tar.gz |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/pnfs.h b/fs/nfsd/pnfs.h index a9616a4..fedb4d6 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, |