mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 02:44:41 +03:00
FreeBSD: 11.x arc_stats compatibility
Removing other_size from arc_stats breaks top in 11.x jails running on HEAD. Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Matt Macy <mmacy@FreeBSD.org> Closes #10745
This commit is contained in:
@@ -619,6 +619,13 @@ typedef struct arc_stats {
|
||||
* Not updated directly; only synced in arc_kstat_update.
|
||||
*/
|
||||
kstat_named_t arcstat_bonus_size;
|
||||
#if defined(COMPAT_FREEBSD11)
|
||||
/*
|
||||
* Sum of the previous three counters, provided for compatibility.
|
||||
*/
|
||||
kstat_named_t arcstat_other_size;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Total number of bytes consumed by ARC buffers residing in the
|
||||
* arc_anon state. This includes *all* buffers in the arc_anon
|
||||
|
||||
Reference in New Issue
Block a user