pnfs: add set-clear layoutdriver interface
authorBenny Halevy <bhalevy@panasas.com>
Sun, 31 Jul 2011 00:52:36 +0000 (20:52 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 31 Jul 2011 16:18:15 +0000 (12:18 -0400)
commit738fd0f360359aecc7fcd7604bbe9e854d81fb1f
treec2d7ba1680ee37383f1fd537cdafba6fef5dfd8e
parent7f11d8d38d64739e190581e015a2a2730ff54e2a
pnfs: add set-clear layoutdriver interface

To allow layout driver to issue getdevicelist at mount time, and clean up
at umount time.

[fixup non NFS_V4_1 set_pnfs_layoutdriver definition]
[pnfs: pass mntfh down the init_pnfs path]
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: Benny Halevy <bhalevy@tonian.com>
Signed-off-by: Jim Rees <rees@umich.edu>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/client.c
fs/nfs/pnfs.c
fs/nfs/pnfs.h