diff options
author | 2023-12-15 10:03:44 -0800 | |
---|---|---|
committer | 2023-12-15 10:03:44 -0800 | |
commit | 774b5c0a5152892bf5f43ce560f3a814b1fdf3b7 (patch) | |
tree | 665b149cb391989d68af368f6ed560054f05a5e4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xfs: check the ondisk space mapping behind a dquot (diff) | |
download | wireguard-linux-774b5c0a5152892bf5f43ce560f3a814b1fdf3b7.tar.xz wireguard-linux-774b5c0a5152892bf5f43ce560f3a814b1fdf3b7.zip |
xfs: check dquot resource timers
For each dquot resource, ensure either (a) the resource usage is over
the soft limit and there is a nonzero timer; or (b) usage is at or under
the soft limit and the timer is unset. (a) is redundant with the dquot
buffer verifier, but (b) isn't checked anywhere.
Found by fuzzing xfs/426 and noticing that diskdq.btimer = add didn't
trip any kind of warning for having a timer set even with no limits.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions