diff options
author | Matthew Ahrens <[email protected]> | 2020-07-30 13:51:31 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2020-08-05 10:28:01 -0700 |
commit | 3c09f6949abfce179286d237665761dc27b58be2 (patch) | |
tree | 49995ec0463285f819d5931d0fceb3effb1656d2 /module/os | |
parent | d519c10575602952258f7e9e300af79a2b04d801 (diff) |
Remove KMC_QCACHE
Remove dead code to make the implementation easier to understand.
Reviewed-by: Ryan Moeller <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Matt Ahrens <[email protected]>
Closes #10650
Diffstat (limited to 'module/os')
-rw-r--r-- | module/os/linux/spl/spl-kmem-cache.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/module/os/linux/spl/spl-kmem-cache.c b/module/os/linux/spl/spl-kmem-cache.c index 8a4a15075..d3afcd54d 100644 --- a/module/os/linux/spl/spl-kmem-cache.c +++ b/module/os/linux/spl/spl-kmem-cache.c @@ -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_QCACHE Disable qcache (unsupported) * KMC_NOMAGAZINE Enabled for kmem/vmem, Disabled for Linux slab */ spl_kmem_cache_t * @@ -737,7 +736,6 @@ spl_kmem_cache_create(char *name, size_t size, size_t align, * Unsupported flags */ ASSERT0(flags & KMC_NOMAGAZINE); - ASSERT0(flags & KMC_QCACHE); ASSERT(vmp == NULL); ASSERT(reclaim == NULL); |