openzfs / zfs

OpenZFS on Linux and FreeBSD
https://openzfs.github.io/openzfs-docs
Other
10.68k stars 1.76k forks source link

add ARC & L2ARC hit/miss bytes to arcstat #16726

Open tkittich opened 2 weeks ago

tkittich commented 2 weeks ago

Motivation and Context

Currently there's no way to see the actual bytes hit/miss from the ARC & L2ARC.

Description

This PR adds number of bytes that were hit/miss from ARC & L2ARC to arcstat.

How Has This Been Tested?

Tested and working in a local VM. Not sure if there're any corner cases though.

Types of changes

Checklist: