]> granicus.if.org Git - zfs/commit
Add ddt, ddt_entry, and l2arc_hdr caches
authorJohn Layman <jlayman@sagecloud.com>
Tue, 19 Nov 2013 21:34:46 +0000 (16:34 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 7 Jan 2014 18:33:11 +0000 (10:33 -0800)
commitecf3d9b8e63e5659269e15db527380c65780f71a
tree93c1a7b7cf0c66b14ae4a63a6511a9f87a62baa1
parent4dad7d91e24875f077e26808fec900224e97dcb2
Add ddt, ddt_entry, and l2arc_hdr caches

Back the allocations for ddt tables+entries and l2arc headers with
kmem caches.  This will reduce the cost of allocating these commonly
used structures and allow for greater visibility of them through the
/proc/spl/kmem/slab interface.

Signed-off-by: John Layman <jlayman@sagecloud.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1893
include/sys/ddt.h
module/zfs/arc.c
module/zfs/ddt.c
module/zfs/spa_misc.c