diff options
author | Brian Behlendorf <[email protected]> | 2011-05-06 09:59:52 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-05-06 09:59:52 -0700 |
commit | 34b84cb831695b276788493048ea34f8af8d5bdf (patch) | |
tree | 040da059de330d9a1aa1bd71a0530b576dfd4f2c /module/zcommon/zfs_uio.c | |
parent | 3613204cd7e3ab1ae658e31dac875e58827a6655 (diff) |
Use vmem_alloc() for zfs_ioc_pool_get_history()
The default buffer size when requesting history is 128k. This
is far to large for a kmem_alloc() so instead use the slower
vmem_alloc(). This path has no performance concerns and the
buffer is immediately free'd after its contents are copied to
the user space buffer.
Diffstat (limited to 'module/zcommon/zfs_uio.c')
0 files changed, 0 insertions, 0 deletions