aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2024-02-19 13:13:24 +1030
committerDavid Sterba <dsterba@suse.com>2024-07-11 15:33:22 +0200
commitbca707e54276de828a8cad82b723192374e73e00 (patch)
tree32156c6179ca140ca055148e66e358a5486b1589 /tools/perf/scripts/python/stackcollapse.py
parentbtrfs: make __extent_writepage_io() to write specified range only (diff)
downloadlinux-bca707e54276de828a8cad82b723192374e73e00.tar.gz
linux-bca707e54276de828a8cad82b723192374e73e00.zip
btrfs: subpage: introduce helpers to handle subpage delalloc locking
Three new helpers are introduced for the incoming subpage delalloc locking change. - btrfs_folio_set_writer_lock() This is to mark specified range with subpage specific writer lock. After calling this, the subpage range can be proper unlocked by btrfs_folio_end_writer_lock() - btrfs_subpage_find_writer_locked() This is to find the writer locked subpage range in a page. With the help of btrfs_folio_set_writer_lock(), it can allow us to record and find previously locked subpage range without extra memory allocation. - btrfs_folio_end_all_writers() This is for the locked_page of __extent_writepage(), as there may be multiple subpage delalloc ranges locked. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: Naohiro Aota <naohiro.aota@wdc.com> Signed-off-by: Qu Wenruo <wqu@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions