Code

zfs_arc plugin: get the target size of the MRU
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Wed, 27 Apr 2016 11:28:15 +0000 (13:28 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Wed, 27 Apr 2016 11:32:52 +0000 (13:32 +0200)
Also known as 'p'

src/zfs_arc.c

index e4b92a5e02f3f665334592b6217b1c166245e6e7..2f89ddd9ee4bf451ec79751f77b4bd744a4024df 100644 (file)
@@ -271,6 +271,7 @@ static int za_read (void)
        /* Sizes */
        za_read_gauge (ksp, "size",  "cache_size", "arc");
        za_read_gauge (ksp, "c",     "cache_size", "c");
+       za_read_gauge (ksp, "p",     "cache_size", "p");
        za_read_gauge (ksp, "c_min", "cache_size", "c_min");
        za_read_gauge (ksp, "c_max", "cache_size", "c_max");