summaryrefslogtreecommitdiffstats
path: root/zfs
Commit message (Collapse)AuthorAgeFilesLines
* Update header files to match whitespace changes in source filesNathan Scott2020-08-221-1/+1
|
* Avoid empty translation unit warningChristian Göttsche2020-08-212-0/+3
| | | | | | zfs/ZfsArcStats.c:22: error: ISO C forbids an empty translation unit [-Werror=pedantic] 22 | }*/ |
* Remove trailing whitespacesChristian Göttsche2020-08-211-1/+1
|
* Support for ZFS Compressed ARC statisticsRoss Williams2019-09-035-0/+132
|
* Refactor openzfs_sysctl_init() and ZfsArcMeter...Ross Williams2019-09-034-6/+28
| | | | | | | | | | | openzfs_sysctl_init() now returns void instead of int. The ZfsArcStats->enabled flag is set inside the init function now, instead of having to be set from its return value. Preparation for more flag setting in Compressed ARC commit. ZfsArcMeter_readStats() added and all Meter->values[] setting moved to it, eliminating duplicated code in {darwin,freebsd,linux,solaris}/Platform.c.
* Refactor common OpenZFS sysctl accessRoss Williams2019-07-074-0/+141
| | | | | Darwin and FreeBSD export zfs kstats through the same APIs, so moving functions into a common file.
* ZFS arcstats for LinuxRoss Williams2019-07-071-21/+26
| | | | | | If no pools are imported (ARC size == 0) or the ZFS module is not in the kernel (/proc/spl/kstat/zfs/arcstats does not exist), then the Meter reports "Unavailable".
* Support ZFS ARC stats on FreeBSDRoss Williams2019-07-072-0/+99
New meter displays same ARC stats as FreeBSD top(1). Can be extended to other platforms that support ZFS. Pulling kstat.zfs.misc.arcstats.c_max as the meter total, so the meter has a meaningful value to work up to. The Text meter displays, first, the maximum ARC size (Meter.total), then second, the total ARC used, using the difference between Meter.maxItems and Meter.curItems to "hide" the used value from the Bar and Graph drawing functions by using an index in Meter.values[] that is beyond curItems - 1, but less than maxItems - 1.

© 2014-2024 Faster IT GmbH | imprint | privacy policy