From: Brian Behlendorf Date: Fri, 10 Feb 2012 19:53:09 +0000 (-0800) Subject: Export symbols for zero-copy X-Git-Tag: zfs-0.6.0-rc7~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b10c77f70acc188f979ef85e922e854822ac0705;p=zfs Export symbols for zero-copy Exported the required symbols to make use of the DMU's zero-copy API. This allows external modules to move data in to and out of the ARC without incurring the cost of a memory copy. Signed-off-by: Brian Behlendorf --- diff --git a/module/zfs/dmu.c b/module/zfs/dmu.c index 04b02c7d2..4adbec035 100644 --- a/module/zfs/dmu.c +++ b/module/zfs/dmu.c @@ -1884,16 +1884,16 @@ EXPORT_SYMBOL(dmu_bonus_hold); EXPORT_SYMBOL(dmu_free_range); EXPORT_SYMBOL(dmu_read); EXPORT_SYMBOL(dmu_write); - -/* Get information on a DMU object. */ EXPORT_SYMBOL(dmu_object_info); EXPORT_SYMBOL(dmu_object_info_from_dnode); EXPORT_SYMBOL(dmu_object_info_from_db); EXPORT_SYMBOL(dmu_object_size_from_db); - EXPORT_SYMBOL(dmu_object_set_blocksize); EXPORT_SYMBOL(dmu_object_set_checksum); EXPORT_SYMBOL(dmu_object_set_compress); - +EXPORT_SYMBOL(dmu_request_arcbuf); +EXPORT_SYMBOL(dmu_return_arcbuf); +EXPORT_SYMBOL(dmu_assign_arcbuf); +EXPORT_SYMBOL(dmu_buf_hold); EXPORT_SYMBOL(dmu_ot); #endif