diff options
author | jkar8572 <jkar8572> | 2001-09-26 12:26:11 +0000 |
---|---|---|
committer | jkar8572 <jkar8572> | 2001-09-26 12:26:11 +0000 |
commit | 570ff1d772f4b2d0a73025c547e46e82ceb79eaa (patch) | |
tree | 56f536fb06c9557096635c05e00dfc8d9649ead1 /quotaio_v2.h | |
parent | 48448ca24e00e530e59d774bfdb3c2a76616330c (diff) |
Fixed detection of RH 7.1 kernel not to make problems on older kernels.
Utilities now use shared locks when opening files read-only.
Changed naming of Q_GETSTATS as they would be no longer in kernel.
Diffstat (limited to 'quotaio_v2.h')
-rw-r--r-- | quotaio_v2.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/quotaio_v2.h b/quotaio_v2.h index 2657343..2482156 100644 --- a/quotaio_v2.h +++ b/quotaio_v2.h @@ -85,4 +85,17 @@ struct v2_kern_dqinfo { unsigned int dqi_free_entry; }; +/* Structure with gathered statistics from kernel */ +struct v2_dqstats { + u_int32_t lookups; + u_int32_t drops; + u_int32_t reads; + u_int32_t writes; + u_int32_t cache_hits; + u_int32_t allocated_dquots; + u_int32_t free_dquots; + u_int32_t syncs; + u_int32_t version; +}; + #endif |