diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-03-18 07:17:36 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2021-03-18 19:03:54 +0300 |
commit | f998d7d545a2248faf5a4311240941dfe813eedc (patch) | |
tree | 50b16954a72e91b2cde905dbf83f60f549dc4c16 /include/uapi/linux | |
parent | fa8b90070a80bb1a3042b4b25af4b3ee2c4c27e1 (diff) | |
download | linux-f998d7d545a2248faf5a4311240941dfe813eedc.tar.xz |
quota: report warning limits for realtime space quotas
Report the number of warnings that a user will get for exceeding the
soft limit of a realtime volume. This plugs a gap needed before we
can land a realtime quota implementation for XFS in the next cycle.
Link: https://lore.kernel.org/r/20210318041736.GB22094@magnolia
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r-- | include/uapi/linux/dqblk_xfs.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/uapi/linux/dqblk_xfs.h b/include/uapi/linux/dqblk_xfs.h index c71d909addda..8cda3e62e0e7 100644 --- a/include/uapi/linux/dqblk_xfs.h +++ b/include/uapi/linux/dqblk_xfs.h @@ -219,7 +219,10 @@ struct fs_quota_statv { __s32 qs_rtbtimelimit;/* limit for rt blks timer */ __u16 qs_bwarnlimit; /* limit for num warnings */ __u16 qs_iwarnlimit; /* limit for num warnings */ - __u64 qs_pad2[8]; /* for future proofing */ + __u16 qs_rtbwarnlimit;/* limit for rt blks warnings */ + __u16 qs_pad3; + __u32 qs_pad4; + __u64 qs_pad2[7]; /* for future proofing */ }; #endif /* _LINUX_DQBLK_XFS_H */ |