]> 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)
commitdc5d924a6eb2849088f4af0967c89fa9cb3aab32
tree7586470df26218daa8d771760615ae0d76e6788a
parent628974c1bc4fdbe800962aafffbe8c3d8ea0ccce
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