summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Zhuravlev <[email protected]>2012-02-17 12:09:21 -0800
committerBrian Behlendorf <[email protected]>2012-02-17 12:43:02 -0800
commita473d90ceeb57a7e63b35fdc82486251b162df0e (patch)
tree553ce67c228f27616620c4bf29b529d96073aeda
parentb41c9906dcc0d75099cba8374420a513a253beff (diff)
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 <[email protected]>
-rw-r--r--module/zfs/dmu.c2
1 files changed, 2 insertions, 0 deletions
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);