Closed ryao closed 1 year ago
help spl_cache uses spl_kmem_caches | filter obj.skc_name == "ddt_cache" | spl_cache as an example, which is broken:
help spl_cache
spl_kmem_caches | filter obj.skc_name == "ddt_cache" | spl_cache
sdb> spl_kmem_caches | filter obj.skc_name == "ddt_cache" | spl_cache usage: filter [-h] expr filter: error: unrecognized arguments: == ddt_cache
It is missing single quotes. spl_kmem_caches | filter 'obj.skc_name == "ddt_cache"' | spl_cache works.
spl_kmem_caches | filter 'obj.skc_name == "ddt_cache"' | spl_cache
Fixed in 6.0/stage. Should propagate to master soon
help spl_cache
usesspl_kmem_caches | filter obj.skc_name == "ddt_cache" | spl_cache
as an example, which is broken:It is missing single quotes.
spl_kmem_caches | filter 'obj.skc_name == "ddt_cache"' | spl_cache
works.