diff options
author | Richard Yao <[email protected]> | 2014-10-11 11:01:37 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2015-01-21 15:30:24 -0800 |
commit | 841c9d43c725334a0a4b6174b6e1adea24f16cdd (patch) | |
tree | bbcb514ecd30a72dcd7984a4854e446824eb1323 /module/zfs/dbuf_stats.c | |
parent | 3c832b8cc13bb4e570b317c30b146bb072e08f58 (diff) |
Use kmem_vasprintf() in log_internal()
An attempt to debug zfsonlinux/zfs#2781 revealed that this code could be
simplified by using kmem_asprintf(). It is not clear that switching to
kmem_asprintf() addresses zfsonlinux/zfs#2781. However, switching to
kmem_asprintf() is cleanup that simplifies debugging such that it would
become clear that this is a bug in glibc should the issue persist.
It also brings this function almost back in sync with Illumos. This
was possible due to the recently reworked kmem code which allows us
to use KM_SLEEP in the same fashion as Illumos.
Signed-off-by: Richard Yao <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #2791
Issue #2781
Diffstat (limited to 'module/zfs/dbuf_stats.c')
0 files changed, 0 insertions, 0 deletions