Add a sysctl for the ZFS abd_scatter_enabled setting.
Submitted by: Yamagi Burmeister <lists@yamagi.org> (original version) Approved by: re (rgrimes) MFC after: 3 days
This commit is contained in:
parent
26ffc1ab46
commit
394e8d20d9
@ -153,6 +153,8 @@ size_t zfs_abd_chunk_size = 4096;
|
||||
#if defined(__FreeBSD__) && defined(_KERNEL)
|
||||
SYSCTL_DECL(_vfs_zfs);
|
||||
|
||||
SYSCTL_INT(_vfs_zfs, OID_AUTO, abd_scatter_enabled, CTLFLAG_RWTUN,
|
||||
&zfs_abd_scatter_enabled, 0, "Enable scattered ARC data buffers");
|
||||
SYSCTL_ULONG(_vfs_zfs, OID_AUTO, abd_chunk_size, CTLFLAG_RDTUN,
|
||||
&zfs_abd_chunk_size, 0, "The size of the chunks ABD allocates");
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user