Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information