summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2012-02-10 11:53:09 -0800
committerBrian Behlendorf <[email protected]>2012-02-10 11:56:55 -0800
commitb10c77f70acc188f979ef85e922e854822ac0705 (patch)
treefbad6f3f6312271f51caa594c202ce045006a059
parenta31acb462d70aea9bbd5f0c96f7df109e2dde5aa (diff)
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 <[email protected]>
-rw-r--r--module/zfs/dmu.c8
1 files 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