NFSv4.1: pnfs: filelayout: add driver's LAYOUTGET and GETDEVICEINFO infrastructure
authorAndy Adamson <[email protected]>
Wed, 20 Oct 2010 04:18:04 +0000 (00:18 -0400)
committerTrond Myklebust <[email protected]>
Sun, 24 Oct 2010 22:07:11 +0000 (18:07 -0400)
commit16b374ca439fb406e46e071f75428f5b033056f8
tree72a66e452936561151b8b62069763cb4f0434b39
parentb1f69b754ee312ec75f2c7ead0e6851cd9598cc2
NFSv4.1: pnfs: filelayout: add driver's LAYOUTGET and GETDEVICEINFO infrastructure

Implement the driver's io_ops->alloc_lseg and free_lseg functions,
which integrate into the deviceid cache and calls out to
nfs4_proc_getdeviceinfo when necessary.

Signed-off-by: Andy Adamson <[email protected]>
Signed-off-by: Dean Hildebrand <[email protected]>
Signed-off-by: Marc Eshel <[email protected]>
Signed-off-by: Mike Sager <[email protected]>
Signed-off-by: Oleg Drokin <[email protected]>
Signed-off-by: Ricardo Labiaga <[email protected]>
Signed-off-by: Tao Guo <[email protected]>
Signed-off-by: Boaz Harrosh <[email protected]>
Signed-off-by: Fred Isaman <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>
fs/nfs/Makefile
fs/nfs/client.c
fs/nfs/nfs4filelayout.c
fs/nfs/nfs4filelayout.h [new file with mode: 0644]
fs/nfs/nfs4filelayoutdev.c [new file with mode: 0644]