From: Boaz Harrosh Date: Sun, 22 May 2011 16:50:20 +0000 (+0300) Subject: pnfs-obj: decode layout, alloc/free lseg X-Git-Tag: v3.0-rc1~2^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09f5bf4e6d0607399c16ec7a2d8d166f31086686;p=pandora-kernel.git pnfs-obj: decode layout, alloc/free lseg objlayout_alloc_lseg prepares an xdr_stream and calls the raid engins objio_alloc_lseg() to allocate a private pnfs_layout_segment. objio_osd.c::objio_alloc_lseg() uses passed xdr_stream to decode and store the layout_segment information in an objio_segment struct, using the pnfs_osd_xdr.h API for the actual parsing the layout xdr. objlayout_free_lseg calls objio_free_lseg() to free the allocated space. Signed-off-by: Boaz Harrosh [gfp_flags] [removed "extern" from function definitions] Signed-off-by: Benny Halevy --- Reading git-diff-tree failed