pnfs: encode_layoutreturn
authorAndy Adamson <andros@netapp.com>
Sun, 22 May 2011 16:53:10 +0000 (19:53 +0300)
committerBoaz Harrosh <bharrosh@panasas.com>
Sun, 29 May 2011 17:54:37 +0000 (20:54 +0300)
commit04a555498e03b3804e2dec916a4669f5f560e503
tree4fab39683df70cee7f7aea7d7718072a811ad153
parent8a1636c459cb7a4b32ba4024cd1b2ba21fba6aed
pnfs: encode_layoutreturn

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

Currently the pnfs-objects layout driver uses it to encode i/o error
information on LAYOUTRETURN.

Signed-off-by: Andy Adamson <andros@netapp.com>
[fixup layout header pointer for encode_layoutreturn]
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
fs/nfs/nfs4xdr.c
fs/nfs/pnfs.h