aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorBrian Foster <[email protected]>2017-07-24 15:33:25 +0000
committerDarrick J. Wong <[email protected]>2017-07-24 15:33:25 +0000
commitcfaf2d034360166e569a4929dd83ae9698bed856 (patch)
treecc5ce3e05fd30ba3737fe59c03fc061876c08300 /tools/perf/scripts/python/compaction-times.py
parentxfs: check _alloc_read_agf buffer pointer before using (diff)
downloadkernel-cfaf2d034360166e569a4929dd83ae9698bed856.tar.gz
kernel-cfaf2d034360166e569a4929dd83ae9698bed856.zip
xfs: fix quotacheck dquot id overflow infinite loop
If a dquot has an id of U32_MAX, the next lookup index increment overflows the uint32_t back to 0. This starts the lookup sequence over from the beginning, repeats indefinitely and results in a livelock. Update xfs_qm_dquot_walk() to explicitly check for the lookup overflow and exit the loop. Signed-off-by: Brian Foster <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions