diff options
| author | Darrick J. Wong <djwong@kernel.org> | 2026-10-12 08:21:54 -0700 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-10-14 09:34:54 +0200 |
| commit | 6f2792720673f569fa3e1f68181b9d6fd26802b5 (patch) | |
| tree | 887084b5569a6dfe98fd854aca8969d28993a811 /tools/perf/scripts/python/stackcollapse.py | |
| parent | ddf4fe30c3fd7d37cf9bad3887ddb69984954cf4 (diff) | |
| download | linux-6f2792720673f569fa3e1f68181b9d6fd26802b5.tar.gz linux-6f2792720673f569fa3e1f68181b9d6fd26802b5.zip | |
xfs: fix correction of unwritten extents in quota file data fork
LOLLM noticed a couple of problems with the code that fixes unwritten
mappings in the quota file's data fork: first, we should zero the ondisk
contents as part of converting them to "unwritten" just in case we crash
shortly after the conversion. Second, and more importantly, it noticed
that we fail to resynchronize the iext tree cursor after modifying the
iext tree. If the tree shape changes, we could be in a world of hurt.
Third, we should force a quotacheck if we reset an ondisk dquot. Fix
all issues.
Cc: stable@vger.kernel.org # v6.8
Fixes: a5b91555403e3a ("xfs: repair quotas")
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Assisted-by: LOLLM # finding obvious bugs
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
