]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit - lib/libz/inffast.c
MFV r305560: 7278 tuning zfs_arc_max does not impact arc_c_min
authorAlexander Motin <mav@FreeBSD.org>
Wed, 7 Sep 2016 20:05:10 +0000 (20:05 +0000)
committerAlexander Motin <mav@FreeBSD.org>
Wed, 7 Sep 2016 20:05:10 +0000 (20:05 +0000)
commitde1fdddedae7a4eb1a35ee9f1a1b6060d444c1bd
tree6e63206298fa2e610685af5e370e16a44fcf7fd9
parent6af45170c16bdebc1825165e3d6eb5b222e010d8
parent03d951aef363eebea2225fbdc70cc03fb577b0d7
MFV r305560: 7278 tuning zfs_arc_max does not impact arc_c_min

When changing zfs_arc_max (e.g. as zdb does), it may be set to less
than the default arc_c_min. arc_c_min should decrease to not be more than
arc_c_max, but it doesn't; therefore tuning of arc_c_max is ineffective.

Reviewed by: Dan Kimmel <dan.kimmel@delphix.com>
Reviewed by: Paul Dagnelie <paul.dagnelie@delphix.com>
Reviewed by: Prakash Surya <prakash.surya@delphix.com>
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
Author: Matthew Ahrens <mahrens@delphix.com>

openzfs/openzfs@608764beadaf4bb71c5d8fe1818e8392ac66a61b
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c