Export symbols for zero-copy
authorAlex Zhuravlev <bzzz@whamcloud.com>
Fri, 17 Feb 2012 20:09:21 +0000 (12:09 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 17 Feb 2012 20:43:02 +0000 (12:43 -0800)
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 <behlendorf1@llnl.gov>
module/zfs/dmu.c

index 4adbec0..ae68c71 100644 (file)
@@ -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);