diff options
author | Christoph Hellwig <[email protected]> | 2021-10-20 22:38:11 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-10-20 08:40:54 -0600 |
commit | 00387bd21dac98f9e793294c895768d9e5441f82 (patch) | |
tree | 302be87bd06e928194b3c98607fe15ccfdac7f2f /tools/perf/scripts/python/flamegraph.py | |
parent | 0f5cd7815f7f4bb1dd340a9aeb9b9d6a7c7eec22 (diff) |
bcache: use bvec_kmap_local in bch_data_verify
Using local kmaps slightly reduces the chances to stray writes, and
the bvec interface cleans up the code a little bit.
Also switch from page_address to bvec_kmap_local for cbv to be on the
safe side and to avoid pointlessly poking into bvec internals.
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Coly Li <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions