summaryrefslogtreecommitdiffstats
path: root/include/sys/multilist.h
diff options
context:
space:
mode:
authorMatthew Ahrens <[email protected]>2017-02-15 15:49:33 -0800
committerBrian Behlendorf <[email protected]>2017-02-15 15:49:33 -0800
commitc30e58c4628de46c36870cdedea9052711092a85 (patch)
tree5f98615d10e325a5d006c6c7e24a0e96cdd61223 /include/sys/multilist.h
parent3d3fe9f9bb4364718cb8c54d8c86bccc84ae3141 (diff)
zfs_arc_num_sublists_per_state should be common to all multilists
The global tunable zfs_arc_num_sublists_per_state is used by the ARC and the dbuf cache, and other users are planned. We should change this tunable to be common to all multilists. This tuning may be overridden on a per-multilist basis. Reviewed-by: Pavel Zakharov <[email protected]> Reviewed-by: Dan Kimmel <[email protected]> Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Matthew Ahrens <[email protected]> Closes #5764
Diffstat (limited to 'include/sys/multilist.h')
-rw-r--r--include/sys/multilist.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sys/multilist.h b/include/sys/multilist.h
index 98d707dd7..9b19d016d 100644
--- a/include/sys/multilist.h
+++ b/include/sys/multilist.h
@@ -13,7 +13,7 @@
* CDDL HEADER END
*/
/*
- * Copyright (c) 2013, 2014 by Delphix. All rights reserved.
+ * Copyright (c) 2013, 2017 by Delphix. All rights reserved.
*/
#ifndef _SYS_MULTILIST_H
@@ -72,7 +72,7 @@ struct multilist {
};
void multilist_destroy(multilist_t *);
-void multilist_create(multilist_t *, size_t, size_t, unsigned int,
+void multilist_create(multilist_t *, size_t, size_t,
multilist_sublist_index_func_t *);
void multilist_insert(multilist_t *, void *);