diff options
author | Christoph Hellwig <hch@lst.de> | 2013-10-28 13:32:35 +0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2015-02-05 16:35:17 +0300 |
commit | 7fbc1067f06098c6b674e672fbb17e758fcc9402 (patch) | |
tree | da45863789ec3e9ea5608db9551f918b59f59c62 /fs/nfsd/nfs4layouts.c | |
parent | 31ef83dc053835fc14741426e20c60dbbba8c13d (diff) | |
download | linux-7fbc1067f06098c6b674e672fbb17e758fcc9402.tar.xz |
exportfs: add methods for block layout exports
Add three methods to allow exporting pnfs block layout volumes:
- get_uuid: get a filesystem unique signature exposed to clients
- map_blocks: map and if nessecary allocate blocks for a layout
- commit_blocks: commit blocks in a layout once the client is done with them
For now we stick the external pnfs block layout interfaces into s_export_op to
avoid mixing them up with the internal interface between the NFS server and
the layout drivers. Once we've fully internalized the latter interface we
can redecide if these methods should stay in s_export_ops.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/nfsd/nfs4layouts.c')
0 files changed, 0 insertions, 0 deletions