From: Alex Zhuravlev Date: Fri, 17 Feb 2012 20:09:21 +0000 (-0800) Subject: Export symbols for zero-copy X-Git-Tag: zfs-0.6.0-rc7~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a473d90ceeb57a7e63b35fdc82486251b162df0e;p=zfs 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 --- diff --git a/module/zfs/dmu.c b/module/zfs/dmu.c index 4adbec035..ae68c717b 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);