diff options
author | Boaz Harrosh <bharrosh@panasas.com> | 2011-05-22 19:50:20 +0300 |
---|---|---|
committer | Boaz Harrosh <bharrosh@panasas.com> | 2011-05-29 20:53:06 +0300 |
commit | 09f5bf4e6d0607399c16ec7a2d8d166f31086686 (patch) | |
tree | 767732b80aaa48a97e86af2c6f0ec7a3120219f2 /fs/gfs2/trace_gfs2.h | |
parent | f1bc893a89d012649e4e7f43575b2c290e08ee42 (diff) |
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 <bharrosh@panasas.com>
[gfp_flags]
[removed "extern" from function definitions]
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Diffstat (limited to 'fs/gfs2/trace_gfs2.h')
0 files changed, 0 insertions, 0 deletions