diff options
author | Matthew Ahrens <[email protected]> | 2020-07-24 09:39:26 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2020-07-24 09:39:26 -0700 |
commit | 4fbdb10c7b94439694ad18409662210099e09cb4 (patch) | |
tree | 938e4174b454237def92fbc8c604ca346493ea3d /contrib | |
parent | 02fced3067798cbc5472f180e4c6d36f4c441a77 (diff) |
remove kmem_cache module parameter KMC_EXPIRE_AGE
By default, `spl_kmem_cache_expire` is `KMC_EXPIRE_MEM`, meaning that
objects will be removed from kmem cache magazines by
`spl_kmem_cache_reap_now()`.
There is also a module parameter to change this to `KMC_EXPIRE_AGE`,
which establishes a maximum lifetime for objects to stay in the
magazine. This setting has rarely, if ever, been used, and is not
regularly tested.
This commit removes the code for `KMC_EXPIRE_AGE`, and associated module
parameters.
Additionally, the unused module parameter
`spl_kmem_cache_obj_per_slab_min` is removed.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Matthew Ahrens <[email protected]>
Closes #10608
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions