aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niewöhner <[email protected]>2019-07-21 19:34:02 +0200
committerBrian Behlendorf <[email protected]>2019-11-13 09:34:51 -0800
commitc025008df5398be4eb7f5b98e75822f447833dd4 (patch)
tree529b6004806a5d0b7a5d7b7ba841729674aa1eaf
parent94a570e39c35522ad3bedf6f7873ca18e6422e91 (diff)
Add missing documentation for some KMC flags
Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Matt Ahrens <[email protected]> Signed-off-by: Sebastian Gottschall <[email protected]> Signed-off-by: Michael Niewöhner <[email protected]> Closes #9034
-rw-r--r--module/os/linux/spl/spl-kmem-cache.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/module/os/linux/spl/spl-kmem-cache.c b/module/os/linux/spl/spl-kmem-cache.c
index 88c7e2507..24bf084b9 100644
--- a/module/os/linux/spl/spl-kmem-cache.c
+++ b/module/os/linux/spl/spl-kmem-cache.c
@@ -876,11 +876,11 @@ spl_magazine_destroy(spl_kmem_cache_t *skc)
* KMC_VMEM Force SPL vmem backed cache
* KMC_SLAB Force Linux slab backed cache
* KMC_OFFSLAB Locate objects off the slab
- * KMC_NOTOUCH unsupported
- * KMC_NODEBUG unsupported
- * KMC_NOHASH unsupported
- * KMC_QCACHE unsupported
- * KMC_NOMAGAZINE unsupported
+ * KMC_NOTOUCH Disable cache object aging (unsupported)
+ * 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
*/
spl_kmem_cache_t *
spl_kmem_cache_create(char *name, size_t size, size_t align,