]> git.baikalelectronics.ru Git - kernel.git/commit
pnfs: encode_layoutcommit
authorBenny Halevy <bhalevy@panasas.com>
Sun, 22 May 2011 16:53:48 +0000 (19:53 +0300)
committerBoaz Harrosh <bharrosh@panasas.com>
Sun, 29 May 2011 17:55:00 +0000 (20:55 +0300)
commitb27b5a6faac697d04f31c89d5e39ae0620f9af4b
tree7586470df26218daa8d771760615ae0d76e6788a
parentabfab7ac8a5b138215ac342b5ee5833ee35f1538
pnfs: encode_layoutcommit

Add a layout driver method to encode the layout type specific
opaque part of layout commit in-line in the xdr stream.

Currently, the pnfs-objects layout driver uses it to encode metadata hints
to the MDS and the blocks layout driver to commit provisionally allocated
extents to the file.

Signed-off-by: Benny Halevy <bhalevy@panasas.com>
fs/nfs/nfs4xdr.c
fs/nfs/pnfs.h