From b10c77f70acc188f979ef85e922e854822ac0705 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Fri, 10 Feb 2012 11:53:09 -0800 Subject: [PATCH] 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 --- module/zfs/dmu.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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