Skip to content
Commit cfc97abc authored by Mike Snitzer's avatar Mike Snitzer
Browse files

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: default avatarMike Snitzer <snitzer@kernel.org>
parent 069adbac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment