Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
block: fix 'kmem_cache of name 'bio-108' already exists'
mainline inclusion from mainline-v6.14-rc5 category: bugfix Device mapper bioset often has big bio_slab size, which can be more than 1000, then 8byte can't hold the slab name any more, cause the kmem_cache allocation warning of 'kmem_cache of name 'bio-108' already exists'. Fix the warning by extending bio_slab->name to 12 bytes, but fix output of /proc/slabinfo Reported-by: Guangwu Zhang <[email protected]> Signed-off-by: Ming Lei <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]> (cherry picked from commit b654f7a51ffb386131de42aa98ed831f8c126546) Signed-off-by: Wentao Guan <[email protected]>
- Loading branch information