mirror_zfs/cmd
Chris Dunlap 8cb8cf91df Replace zed's use of malloc with calloc
When zed allocates memory via malloc(), it typically follows that
with a memset().  However, calloc() implementations can often perform
optimizations when zeroing memory:

https://stackoverflow.com/questions/2688466/why-mallocmemset-is-slower-than-calloc

This commit replaces zed's use of malloc() with calloc().

Signed-off-by: Chris Dunlap <cdunlap@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2736
2014-09-25 13:43:57 -07:00
..
arcstat sighandler() should take 2 arguments 2014-03-20 11:03:46 -07:00
dbufstat Python 3 fixes 2013-11-08 14:30:29 -08:00
fsck_zfs Add /sbin/fsck.zfs helper 2013-01-09 16:54:58 -08:00
mount_zfs Improve handling of filesystem versions 2014-09-03 09:17:14 -07:00
vdev_id vdev_id: support per-channel slot mappings 2014-01-17 11:17:54 -08:00
zdb Illumos 4976-4984 - metaslab improvements 2014-08-18 08:40:49 -07:00
zed Replace zed's use of malloc with calloc 2014-09-25 13:43:57 -07:00
zfs Create an 'overlay' property 2014-08-15 13:39:19 -07:00
zhack Illumos 4370, 4371 2014-07-28 14:29:58 -07:00
zinject Make command line guid parsing more tolerant 2014-04-02 13:10:08 -07:00
zpios Fix error message in zpios 2014-01-29 15:11:56 -08:00
zpool Illumos 5147 - zpool list -v should show individual disk capacity 2014-09-23 10:10:42 -07:00
zstreamdump Illumos 4757, 4913 2014-08-01 14:28:05 -07:00
ztest Illumos 4757, 4913 2014-08-01 14:28:05 -07:00
zvol_id cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
Makefile.am Initial implementation of zed (ZFS Event Daemon) 2014-04-02 13:10:03 -07:00