aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2017-10-31 17:59:54 +0000
committerDavid Sterba <[email protected]>2018-01-22 16:08:20 +0100
commit94f450712ac9cb4e165b5115e5eb0ab10055a64b (patch)
tree7dac357fb3b7f60089cdfe50fc70a8a6e58c9b6c /tools/perf/scripts/python/stackcollapse.py
parentf27451f229966874a8793995b8e6b74326d125df (diff)
Btrfs: use cached state when dirtying pages during buffered write
During a buffered IO write, we can have an extent state that we got when we locked the range (if the range starts at an offset lower than eof), so always pass it to btrfs_dirty_pages() so that setting the delalloc bit in the range does not need to do a full search in the inode's io tree, saving time and reducing the amount of time we hold the io tree's lock. Signed-off-by: Filipe Manana <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions