aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorQu Wenruo <[email protected]>2025-07-19 22:26:48 +0000
committerDavid Sterba <[email protected]>2025-08-07 15:07:15 +0000
commit15fc0bec883c95007a4901fe75f247bd0ca21651 (patch)
treebc57aae73933cca6f4c6e2b8ddd7ba6160651c96 /scripts/patch-kernel
parentbtrfs: fix subpage deadlock in try_release_subpage_extent_buffer() (diff)
downloadkernel-15fc0bec883c95007a4901fe75f247bd0ca21651.tar.gz
kernel-15fc0bec883c95007a4901fe75f247bd0ca21651.zip
btrfs: make btrfs_cleanup_ordered_extents() support large folios
When hitting a large folio, btrfs_cleanup_ordered_extents() will get the same large folio multiple times, and clearing the same range again and again. Thankfully this is not causing anything wrong, just inefficiency. This is caused by the fact that we're iterating folios using the old page index, thus can hit the same large folio again and again. Enhance it by increasing @index to the index of the folio end, and only increase @index by 1 if we failed to grab a folio. Reviewed-by: Boris Burkov <[email protected]> Signed-off-by: Qu Wenruo <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions