summaryrefslogtreecommitdiff
path: root/quotaio_v1.h
diff options
context:
space:
mode:
authorjkar8572 <jkar8572>2001-07-16 03:24:49 +0000
committerjkar8572 <jkar8572>2001-07-16 03:24:49 +0000
commit88c7f535fbe80d96cf5ee15a3a2aa1bd1c535e1f (patch)
treef850410746d7ebb82f3b7b2a2d59a25ed4511069 /quotaio_v1.h
parent865c3f4714cd2da77d590efc7dd3f7c2bcfb7cf9 (diff)
downloadlinuxquota-88c7f535fbe80d96cf5ee15a3a2aa1bd1c535e1f.tar.gz
Fixed quotastats(8)
Grace times are now set when limits are set and usage is over limit. Added LARGEFILE flag to CFLAGS.
Diffstat (limited to 'quotaio_v1.h')
-rw-r--r--quotaio_v1.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/quotaio_v1.h b/quotaio_v1.h
index f36ed63..21c5e85 100644
--- a/quotaio_v1.h
+++ b/quotaio_v1.h
@@ -18,7 +18,6 @@ struct v1_disk_dqblk {
u_int32_t dqb_bsoftlimit; /* preferred limit on disk blks */
u_int32_t dqb_curblocks; /* current block count */
u_int32_t dqb_ihardlimit; /* maximum # allocated inodes */
- u_int32_t dqb_isoftlimit; /* preferred inode limit */
u_int32_t dqb_curinodes; /* current # allocated inodes */
time_t dqb_btime; /* time limit for excessive disk use */
time_t dqb_itime; /* time limit for excessive files */
@@ -36,4 +35,14 @@ struct v1_kern_dqblk {
time_t dqb_itime; /* time limit for excessive files */
};
+struct v1_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;
+};
#endif