Skip to content

L2ARC with metadata and MFU only #16343

Closed
@tkittich

Description

@tkittich

Describe the feature would like to see added to OpenZFS

Option to store only metadata (all metadata) and MFU (both metadata and data) in L2ARC

How will this feature improve OpenZFS?

This feature should be the default and would make a perfect L2ARC for home users. Most metadata and most frequently used data would eventually get stored in the L2ARC!! This would be the perfect tiered storage system.

Of course, this is currently possible by using metadata special vdev together with l2arc_mfuonly L2ARC. But a special vdev introduces another risk if damaged without enough redundancy. For RAIDZ2 of home users, it's not easy to have 3 nvme's as special vdev because most mainboards only have 2 nvme slots.

Additional context

Currently primarycache and secondarycache ZFS properties only allow all, none, and metadata. Perhaps this feature could be added as a new setting, i.e. metaandmfu, for primarycache and secondarycache .

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions