Re: [PATCH v2] block: try slab allocation in bio_alloc_bioset() before mempool
From: Jens Axboe
Date: Thu Jul 16 2026 - 08:14:37 EST
On Thu, 09 Jul 2026 10:01:45 +0800, Joseph Qi wrote:
> When the per-CPU bio cache is enabled but empty, bio_alloc_percpu_cache()
> returns NULL and bio_alloc_bioset() falls straight through to the mempool
> fallback:
>
> if (unlikely(!bio)) {
> if (!(saved_gfp & __GFP_DIRECT_RECLAIM))
> return NULL;
> ...
> }
>
> [...]
Applied, thanks!
[1/1] block: try slab allocation in bio_alloc_bioset() before mempool
commit: 447cfed6d700bfbd5a7120f8ea5821a0e1191667
Best regards,
--
Jens Axboe