mirror_zfs/tests/zfs-tests/tests/functional/cache
Alexander Motin 35da345160
L2ARC: Restrict write size to 1/4 of the device
PR #15457 exposed weird logic in L2ARC write sizing. If it appeared
bigger than device size, instead of liming write it reset all the
system-wide tunables to their default.  Aside of being excessive,
it did not actually help with the problem, still allowing infinite
loop to happen.

This patch removes the tunables reverting logic, but instead limits
L2ARC writes (or at least eviction/trim) to 1/4 of the capacity.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: George Amanakis <gamanakis@gmail.com>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored by: iXsystems, Inc.
Closes #15519
2023-11-14 13:47:57 -08:00
..
cache_001_pos.ksh Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
cache_002_pos.ksh Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
cache_003_pos.ksh Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
cache_004_neg.ksh Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
cache_005_neg.ksh Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
cache_006_pos.ksh Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
cache_007_neg.ksh Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
cache_008_neg.ksh Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
cache_009_pos.ksh Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
cache_010_pos.ksh Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
cache_011_pos.ksh Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
cache_012_pos.ksh L2ARC: Restrict write size to 1/4 of the device 2023-11-14 13:47:57 -08:00
cache.cfg Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
cache.kshlib Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
cleanup.ksh Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
setup.ksh Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00