summaryrefslogtreecommitdiffstats
path: root/zfs/ZfsArcStats.c
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2020-08-20 18:24:35 +1000
committerNathan Scott <nathans@redhat.com>2020-08-20 18:24:35 +1000
commit9a55efc8b52578a9465c5fd4d82c44ad48a16018 (patch)
treea3ffdebe913e85ffde0f183f1209b11082a8c056 /zfs/ZfsArcStats.c
parent31391b206c536cdcd46c335b58ea6ecf6deeba1f (diff)
parenta267003f2f38df5d52ae3f07658c1bbd20b5fb5e (diff)
Merge branch 'hishamhm-pull-920'3.0.0rc1
Diffstat (limited to 'zfs/ZfsArcStats.c')
-rw-r--r--zfs/ZfsArcStats.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/zfs/ZfsArcStats.c b/zfs/ZfsArcStats.c
new file mode 100644
index 00000000..1bfaf47d
--- /dev/null
+++ b/zfs/ZfsArcStats.c
@@ -0,0 +1,22 @@
+/*
+htop - ZfsArcStats.c
+(C) 2014 Hisham H. Muhammad
+Released under the GNU GPL, see the COPYING file
+in the source distribution for its full text.
+*/
+
+/*{
+typedef struct ZfsArcStats_ {
+ int enabled;
+ int isCompressed;
+ unsigned long long int max;
+ unsigned long long int size;
+ unsigned long long int MFU;
+ unsigned long long int MRU;
+ unsigned long long int anon;
+ unsigned long long int header;
+ unsigned long long int other;
+ unsigned long long int compressed;
+ unsigned long long int uncompressed;
+} ZfsArcStats;
+}*/

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