aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorGoldwyn Rodrigues <[email protected]>2019-09-11 11:45:15 -0500
committerDavid Sterba <[email protected]>2019-11-18 12:46:45 +0100
commit9cf35f673583ccc9f3e2507498b3079d56614ad3 (patch)
tree32eb38a32f613b4aae675b26f08e5c7af0b9e5ba /tools/perf/scripts/python/export-to-sqlite.py
parentaf42d3466bdc8f39806b26f593604fdc54140bcb (diff)
btrfs: simplify inode locking for RWF_NOWAIT
This is similar to 942491c9e6d6 ("xfs: fix AIM7 regression"). Apparently our current rwsem code doesn't like doing the trylock, then lock for real scheme. This causes extra contention on the lock and can be measured eg. by AIM7 benchmark. So change our read/write methods to just do the trylock for the RWF_NOWAIT case. Fixes: edf064e7c6fe ("btrfs: nowait aio support") Signed-off-by: Goldwyn Rodrigues <[email protected]> Reviewed-by: David Sterba <[email protected]> [ update changelog ] Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions