diff options
author | Mike Snitzer <snitzer@kernel.org> | 2022-03-24 14:36:47 -0400 |
---|---|---|
committer | Mike Snitzer <snitzer@kernel.org> | 2022-05-05 17:31:33 -0400 |
commit | cfc97abcbe0b1ffac441202fe330e697370ecbcc (patch) | |
tree | a85cd5742071111b85e8f6b0f0fb46ddc5a7bd91 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 069adbac2cd85ae00252da6c5576cbf9b9d9ba6e (diff) |
dm: conditionally enable BIOSET_PERCPU_CACHE for dm_io bioset
A bioset's per-cpu alloc cache may have broader utility in the future
but for now constrain it to being tightly coupled to QUEUE_FLAG_POLL.
Also change dm_io_complete() to use bio_clear_polled() so that it
properly clears all associated bio state on requeue.
This commit improves DM's hipri bio polling (REQ_POLLED) perf by
7 - 20% depending on the system.
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions