pnfs-obj: pnfs_osd XDR definitions
authorBenny Halevy <bhalevy@panasas.com>
Sun, 22 May 2011 16:49:32 +0000 (19:49 +0300)
committerBoaz Harrosh <bharrosh@panasas.com>
Sun, 29 May 2011 17:52:36 +0000 (20:52 +0300)
commit38b7c401f6ade50543f246c4bc2c971edf2b19dd
tree48472ff37b91ef9920c3ab448565812f36279430
parentc93407d03c3ccf60b33a309e5fcd41cd98969901
pnfs-obj: pnfs_osd XDR definitions

* Add the pnfs_osd_xdr.h header

* defintions the pnfs_osd_layout structure including all it's
  sub-types and constants.
* Declare the pnfs_osd_xdr_decode_layout API + all needed
  inline helpers.

* Define the pnfs_osd_deviceaddr structure and all its subtypes and
  constants.
* Declare API for decoding of a pnfs_osd_deviceaddr from XDR stream.

* Define the pnfs_osd_ioerr structure, its substructures and constants.
* Declare API for encoding of a pnfs_osd_ioerr into XDR stream.

* Define the pnfs_osd_layoutupdate structure and its substructures.
* Declare API for encoding of a pnfs_osd_layoutupdate into XDR stream.

[Remove server definitions]
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
include/linux/pnfs_osd_xdr.h [new file with mode: 0644]