mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-14 06:24:53 +08:00
09f5bf4e6d
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>
6 lines
178 B
Makefile
6 lines
178 B
Makefile
#
|
|
# Makefile for the pNFS Objects Layout Driver kernel module
|
|
#
|
|
objlayoutdriver-y := objio_osd.o pnfs_osd_xdr_cli.o objlayout.o
|
|
obj-$(CONFIG_PNFS_OBJLAYOUT) += objlayoutdriver.o
|