I just found that I do not exactly know: What is ZFS metadata in regard
to caching and redundant storage policy? What sort of blocks does it
include and what - doesn't?
I know that there is some metadata which can be prioritized in ARC
with primarycache (or in L2ARC with secondarycache)
Hi Jim,
Non-metadata is the level zero blocks (leaf blocks) of those zfs objects
that store user payload. (plain files, volumes and the like)
Everything else is metadata.
The place to look is dmu.c.
Any object type enumerated in dmu_ot that is flagged TRUE is metadata
in its entirety,