Searched hist:"8 ef34723eff08806e3e9c1c756c62a3cb482a3b8" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/fs/xfs/scrub/ |
H A D | fscounters.c | diff 8ef34723eff08806e3e9c1c756c62a3cb482a3b8 Tue Nov 05 17:33:56 CST 2019 Darrick J. Wong <darrick.wong@oracle.com> xfs: add missing early termination checks to record scrubbing functions
Scrubbing directories, quotas, and fs counters all involve iterating some collection of metadata items. The per-item scrub functions for these three are missing some of the components they need to be able to check for a fatal signal and terminate early.
Per-item scrub functions need to call xchk_should_terminate to look for fatal signals, and they need to check the scrub context's corruption flag because there's no point in continuing a scan once we've decided the data structure is bad. Add both of these where missing.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
|
H A D | quota.c | diff 8ef34723eff08806e3e9c1c756c62a3cb482a3b8 Tue Nov 05 17:33:56 CST 2019 Darrick J. Wong <darrick.wong@oracle.com> xfs: add missing early termination checks to record scrubbing functions
Scrubbing directories, quotas, and fs counters all involve iterating some collection of metadata items. The per-item scrub functions for these three are missing some of the components they need to be able to check for a fatal signal and terminate early.
Per-item scrub functions need to call xchk_should_terminate to look for fatal signals, and they need to check the scrub context's corruption flag because there's no point in continuing a scan once we've decided the data structure is bad. Add both of these where missing.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
|
H A D | dir.c | diff 8ef34723eff08806e3e9c1c756c62a3cb482a3b8 Tue Nov 05 17:33:56 CST 2019 Darrick J. Wong <darrick.wong@oracle.com> xfs: add missing early termination checks to record scrubbing functions
Scrubbing directories, quotas, and fs counters all involve iterating some collection of metadata items. The per-item scrub functions for these three are missing some of the components they need to be able to check for a fatal signal and terminate early.
Per-item scrub functions need to call xchk_should_terminate to look for fatal signals, and they need to check the scrub context's corruption flag because there's no point in continuing a scan once we've decided the data structure is bad. Add both of these where missing.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
|