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)
commitac7db7264ac3314cae09893bc838fcb7e83267a4
tree7586470df26218daa8d771760615ae0d76e6788a
parentadb58535e604a564495a7d50dfb0afa0ddc21bcb
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