zfs_arc plugin: Use a buffer with fixed size rather than allocating on the heap.
authorFlorian Forster <octo@collectd.org>
Tue, 4 Jun 2013 06:35:09 +0000 (08:35 +0200)
committerFlorian Forster <octo@collectd.org>
Tue, 4 Jun 2013 06:35:09 +0000 (08:35 +0200)
commitbf7aa5373cb298dbb11e9576a1371cdfaaab7d90
treecba2c348bbb33540576d66f7e76806983ab057bf
parent674032d40ef32e83d109d90e7ff19f07e98119fa
zfs_arc plugin: Use a buffer with fixed size rather than allocating on the heap.

The key length is very predicable, so buffer length is not a problem.
src/zfs_arc.c