Re: [PATCH for-next] block: enable per-cpu bio caching for the fs bio set

Kanchan Joshi
2022-09-02T18:58:47Z

[-- Attachment #1: Type: text/plain, Size: 479 bytes --]

On Fri, Sep 02, 2022 at 10:42:45AM -0600, Jens Axboe wrote:
>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.
>
>Signed-off-by: Jens Axboe <axboe@kernel.dk>

Reviewed-by: Kanchan Joshi <joshi.k@samsung.com>

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]