mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
Remove KMC_NOHASH
Remove dead code to make the implementation easier to understand. Reviewed-by: Ryan Moeller <ryan@ixsystems.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Matt Ahrens <matt@delphix.com> Closes #10650
This commit is contained in:
committed by
Brian Behlendorf
parent
f68af67a0c
commit
d519c10575
@@ -721,7 +721,6 @@ spl_magazine_destroy(spl_kmem_cache_t *skc)
|
||||
* KMC_KVMEM Force kvmem backed SPL cache
|
||||
* KMC_SLAB Force Linux slab backed cache
|
||||
* KMC_NODEBUG Disable debugging (unsupported)
|
||||
* KMC_NOHASH Disable hashing (unsupported)
|
||||
* KMC_QCACHE Disable qcache (unsupported)
|
||||
* KMC_NOMAGAZINE Enabled for kmem/vmem, Disabled for Linux slab
|
||||
*/
|
||||
@@ -738,7 +737,6 @@ spl_kmem_cache_create(char *name, size_t size, size_t align,
|
||||
* Unsupported flags
|
||||
*/
|
||||
ASSERT0(flags & KMC_NOMAGAZINE);
|
||||
ASSERT0(flags & KMC_NOHASH);
|
||||
ASSERT0(flags & KMC_QCACHE);
|
||||
ASSERT(vmp == NULL);
|
||||
ASSERT(reclaim == NULL);
|
||||
|
||||
Reference in New Issue
Block a user