.. | .. |
---|
61 | 61 | __u64 d_ino_softlimit;/* preferred inode limit */ |
---|
62 | 62 | __u64 d_bcount; /* # disk blocks owned by the user */ |
---|
63 | 63 | __u64 d_icount; /* # inodes owned by the user */ |
---|
64 | | - __s32 d_itimer; /* zero if within inode limits */ |
---|
65 | | - /* if not, we refuse service */ |
---|
| 64 | + __s32 d_itimer; /* Zero if within inode limits. If |
---|
| 65 | + * not, we refuse service at this time |
---|
| 66 | + * (in seconds since Unix epoch) */ |
---|
66 | 67 | __s32 d_btimer; /* similar to above; for disk blocks */ |
---|
67 | 68 | __u16 d_iwarns; /* # warnings issued wrt num inodes */ |
---|
68 | 69 | __u16 d_bwarns; /* # warnings issued wrt disk blocks */ |
---|
69 | | - __s32 d_padding2; /* padding2 - for future use */ |
---|
| 70 | + __s8 d_itimer_hi; /* upper 8 bits of timer values */ |
---|
| 71 | + __s8 d_btimer_hi; |
---|
| 72 | + __s8 d_rtbtimer_hi; |
---|
| 73 | + __s8 d_padding2; /* padding2 - for future use */ |
---|
70 | 74 | __u64 d_rtb_hardlimit;/* absolute limit on realtime blks */ |
---|
71 | 75 | __u64 d_rtb_softlimit;/* preferred limit on RT disk blks */ |
---|
72 | 76 | __u64 d_rtbcount; /* # realtime blocks owned */ |
---|
.. | .. |
---|
122 | 126 | #define FS_DQ_ACCT_MASK (FS_DQ_BCOUNT | FS_DQ_ICOUNT | FS_DQ_RTBCOUNT) |
---|
123 | 127 | |
---|
124 | 128 | /* |
---|
| 129 | + * Quota expiration timestamps are 40-bit signed integers, with the upper 8 |
---|
| 130 | + * bits encoded in the _hi fields. |
---|
| 131 | + */ |
---|
| 132 | +#define FS_DQ_BIGTIME (1<<15) |
---|
| 133 | + |
---|
| 134 | +/* |
---|
125 | 135 | * Various flags related to quotactl(2). |
---|
126 | 136 | */ |
---|
127 | 137 | #define FS_QUOTA_UDQ_ACCT (1<<0) /* user quota accounting */ |
---|