summaryrefslogtreecommitdiffstats
path: root/fs/nfs/objlayout/Kbuild
diff options
context:
space:
mode:
authorBoaz Harrosh2011-05-22 18:50:20 +0200
committerBoaz Harrosh2011-05-29 19:53:06 +0200
commit09f5bf4e6d0607399c16ec7a2d8d166f31086686 (patch)
tree767732b80aaa48a97e86af2c6f0ec7a3120219f2 /fs/nfs/objlayout/Kbuild
parentpnfs-obj: pnfs_osd XDR client implementation (diff)
downloadkernel-qcow2-linux-09f5bf4e6d0607399c16ec7a2d8d166f31086686.tar.gz
kernel-qcow2-linux-09f5bf4e6d0607399c16ec7a2d8d166f31086686.tar.xz
kernel-qcow2-linux-09f5bf4e6d0607399c16ec7a2d8d166f31086686.zip
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/nfs/objlayout/Kbuild')
-rw-r--r--fs/nfs/objlayout/Kbuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/objlayout/Kbuild b/fs/nfs/objlayout/Kbuild
index 7b2a5a240657..ed30ea072bb8 100644
--- a/fs/nfs/objlayout/Kbuild
+++ b/fs/nfs/objlayout/Kbuild
@@ -1,5 +1,5 @@
#
# Makefile for the pNFS Objects Layout Driver kernel module
#
-objlayoutdriver-y := objio_osd.o pnfs_osd_xdr_cli.o
+objlayoutdriver-y := objio_osd.o pnfs_osd_xdr_cli.o objlayout.o
obj-$(CONFIG_PNFS_OBJLAYOUT) += objlayoutdriver.o