diff options
author | Adam D. Moss <[email protected]> | 2020-10-20 11:39:52 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2020-10-20 11:39:52 -0700 |
commit | 666aa69f32ff2558ef9e9a27bc4cb5559e21d795 (patch) | |
tree | 8a4b4647c3a84ef1aae50a0e4d0aacc5d77d3432 /module/Kbuild.in | |
parent | 241c62bdd7fbc0683d54c40b4a184cf889ebd774 (diff) |
Non-l2arc pool reads shouldn't be l2arc misses
The current l2_misses accounting behavior treats all reads to pools
without a configured l2arc as an l2arc miss, IFF there is at least
one other pool on the system which does have an l2arc configured.
This makes it extremely hard to tune for an improved l2arc hit/miss
ratio because this ratio will be modulated by reads from pools which
do not (and should not) have l2arc devices; its upper limit will
depend on the ratio of reads from l2arc'd pools and non-l2arc'd pools.
This PR prevents ARC reads affecting l2arc stats (n.b. l2_misses is
the only relevant one) where the target spa doesn't have an l2arc.
Includes new test - l2arc_l2miss_pos.ksh
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: George Amanakis <[email protected]>
Signed-off-by: Adam Moss <[email protected]>
Closes #10921
Diffstat (limited to 'module/Kbuild.in')
0 files changed, 0 insertions, 0 deletions