diff options
author | Mike Snitzer <[email protected]> | 2022-03-24 16:35:25 -0400 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2022-04-17 16:49:40 -0600 |
commit | b53f3dcd705e52a07bd0311870dbfb6842e88c91 (patch) | |
tree | 0178a6d8ffcda464a458ae3f6ba7a21b337c01f2 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 0df71650c051ab106c921de257f4b38e9e3dd251 (diff) |
block: allow use of per-cpu bio alloc cache by block drivers
Refine per-cpu bio alloc cache interfaces so that DM and other block
drivers can properly create and use the cache:
DM uses bioset_init_from_src() to do its final bioset initialization,
so must update bioset_init_from_src() to set BIOSET_PERCPU_CACHE if
%src bioset has a cache.
Also move bio_clear_polled() to include/linux/bio.h to allow users
outside of block core.
Signed-off-by: Mike Snitzer <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions