aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLiu Bo <[email protected]>2018-08-25 13:47:09 +0800
committerDavid Sterba <[email protected]>2018-10-15 17:23:29 +0200
commite49aabd973fd0b3e8e949bd9e7e05acbb9008244 (patch)
treea252d214b5e84393e8258286768935cede688be1 /tools/perf/scripts/python
parentde2c6615dcddf2af868c5cbd1db2e9e73b4beb58 (diff)
Btrfs: set leave_spinning in btrfs_get_extent
Unless it's going to read inline extents from btree leaf to page, btrfs_get_extent won't sleep during the period of holding path lock. This sets leave_spinning at first and sets path to blocking mode right before reading inline extent if that's the case. The benefit is that a path in spinning mode typically has lower impact (faster) on waiters rather than that in the blocking mode. Signed-off-by: Liu Bo <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions