bio: split pcpu cache part of bio_put into a helper
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 2 Nov 2022 15:18:21 +0000 (15:18 +0000)
committerJens Axboe <axboe@kernel.dk>
Wed, 16 Nov 2022 16:44:26 +0000 (09:44 -0700)
commitf25cf75a452150c243f74ab1f1836822137d5d2c
treed6d86ede5e7ba7bad967309d25ed564595de3e04
parent759aa12f19155fe4e4fb4740450b4aa4233b7d9f
bio: split pcpu cache part of bio_put into a helper

Extract a helper out of bio_put for recycling into percpu caches.
It's a preparation patch without functional changes.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/e97ab2026a89098ee1bfdd09bcb9451fced95f87.1667384020.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio.c