summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/flamegraph-report
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2026-05-07 14:59:17 +0930
committerDavid Sterba <dsterba@suse.com>2026-06-08 15:53:32 +0200
commitb066155f06eeb4d6d696668cc58b6101adf6c1c2 (patch)
treef7091de632b5d4d20ff792f602d2e445c14c9365 /tools/perf/scripts/python/bin/flamegraph-report
parent0e7fff6ecaea56b410d77cf7a738ef588d12251a (diff)
btrfs: detect dirty blocks without an ordered extent more reliably
Currently btrfs detects dirty folio which doesn't have an ordered extent at extent_writepage_io(), but that is not ideal: - The check is not handling all dirty blocks We can have multiple blocks inside a large folio, but the whole folio is marked ordered as long as there is one ordered extent in the range. We can still hit cases where some dirty blocks do not have corresponding ordered extents. Instead of checking the folio ordered flags, do the check at alloc_new_bio(), where we're already searching for ordered extents for writebacks. If we didn't find an ordered extent, we should already give an error message and notify the caller there is something wrong. This allows us to check every block that goes through submit_extent_folio(). With this new and more reliable check, we can remove the old check. Signed-off-by: Qu Wenruo <wqu@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-report')
0 files changed, 0 insertions, 0 deletions