From a473d90ceeb57a7e63b35fdc82486251b162df0e Mon Sep 17 00:00:00 2001 From: Alex Zhuravlev Date: Fri, 17 Feb 2012 12:09:21 -0800 Subject: [PATCH] Export symbols for zero-copy Export additional 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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/zfs/dmu.c b/module/zfs/dmu.c index 4adbec035a..ae68c717bd 100644 --- a/module/zfs/dmu.c +++ b/module/zfs/dmu.c @@ -1881,6 +1881,8 @@ dmu_fini(void) #if defined(_KERNEL) && defined(HAVE_SPL) EXPORT_SYMBOL(dmu_bonus_hold); +EXPORT_SYMBOL(dmu_buf_hold_array_by_bonus); +EXPORT_SYMBOL(dmu_buf_rele_array); EXPORT_SYMBOL(dmu_free_range); EXPORT_SYMBOL(dmu_read); EXPORT_SYMBOL(dmu_write);