diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-03-17 21:17:36 -0700 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2021-03-18 17:03:54 +0100 |
commit | f998d7d545a2248faf5a4311240941dfe813eedc (patch) | |
tree | 50b16954a72e91b2cde905dbf83f60f549dc4c16 /fs/quota | |
parent | fa8b90070a80bb1a3042b4b25af4b3ee2c4c27e1 (diff) | |
download | linux-f998d7d545a2248faf5a4311240941dfe813eedc.tar.gz linux-f998d7d545a2248faf5a4311240941dfe813eedc.tar.bz2 linux-f998d7d545a2248faf5a4311240941dfe813eedc.zip |
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 'fs/quota')
-rw-r--r-- | fs/quota/quota.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/quota/quota.c b/fs/quota/quota.c index f7b4b66491fc..05e4bd9ab6d6 100644 --- a/fs/quota/quota.c +++ b/fs/quota/quota.c @@ -472,6 +472,7 @@ static int quota_getstatev(struct super_block *sb, int type, fqs->qs_rtbtimelimit = state.s_state[type].rt_spc_timelimit; fqs->qs_bwarnlimit = state.s_state[type].spc_warnlimit; fqs->qs_iwarnlimit = state.s_state[type].ino_warnlimit; + fqs->qs_rtbwarnlimit = state.s_state[type].rt_spc_warnlimit; /* Inodes may be allocated even if inactive; copy out if present */ if (state.s_state[USRQUOTA].ino) { |