aboutsummaryrefslogtreecommitdiff
path: root/block/blk-mq-tag.c
diff options
context:
space:
mode:
authorGravatar Jens Axboe <axboe@kernel.dk> 2022-09-02 10:40:11 -0600
committerGravatar Jens Axboe <axboe@kernel.dk> 2022-09-02 13:03:33 -0600
commit12c5b70c1897288ee6c841b5cc3ff4d27d511bd1 (patch)
treeecd6638d302bb9d5104ac67c46df2d05f0fddda2 /block/blk-mq-tag.c
parentsbitmap: fix batched wait_cnt accounting (diff)
downloadlinux-12c5b70c1897288ee6c841b5cc3ff4d27d511bd1.tar.gz
linux-12c5b70c1897288ee6c841b5cc3ff4d27d511bd1.tar.bz2
linux-12c5b70c1897288ee6c841b5cc3ff4d27d511bd1.zip
block: enable per-cpu bio caching for the fs bio set
This is useful for polled IO on a file, or for polled IO with the io_uring passthrough mechanism. If bio allocations are done with REQ_POLLED for those cases, then initializing the bio set with BIOSET_PERCPU_CACHE enables the local per-cpu cache which eliminates allocations (and frees) of bio structs when possible. Reviewed-by: Kanchan Joshi <joshi.k@samsung.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-tag.c')
0 files changed, 0 insertions, 0 deletions