summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-uevent.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@kernel.org>2022-03-24 19:36:47 +0100
committerMike Snitzer <snitzer@kernel.org>2022-05-05 23:31:33 +0200
commitcfc97abcbe0b1ffac441202fe330e697370ecbcc (patch)
treea85cd5742071111b85e8f6b0f0fb46ddc5a7bd91 /drivers/md/dm-uevent.c
parentblock: improve the error message from bio_check_eod (diff)
downloadlinux-cfc97abcbe0b1ffac441202fe330e697370ecbcc.tar.xz
linux-cfc97abcbe0b1ffac441202fe330e697370ecbcc.zip
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 'drivers/md/dm-uevent.c')
0 files changed, 0 insertions, 0 deletions