@tcaputi To determine the cache size, you could look at 
`dbuf_caches[DB_DBUF_METADATA_CACHE].size`.  While this is trivial with mdb 
(assuming you have root access), I agree it would be nice to add a kstat for 
this.  IIRC, it seemed like kind of a pain since the kstats seem to be specific 
to each .c file, and there isn't already a kstat set up in dbuf.c.  But that 
doesn't mean we shouldn't do it at some point :)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/599#issuecomment-375810016
------------------------------------------
openzfs: openzfs-developer
Permalink: 
https://openzfs.topicbox.com/groups/developer/discussions/T644dae5d5a17704c-Mc7e019ff12d62a302f8726e4
Delivery options: https://openzfs.topicbox.com/groups

Reply via email to