]> git.baikalelectronics.ru Git - kernel.git/commit
block: use bi_max_vecs to find the bvec pool
authorChristoph Hellwig <hch@lst.de>
Tue, 2 Feb 2021 17:19:29 +0000 (18:19 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 8 Feb 2021 15:33:16 +0000 (08:33 -0700)
commitb525838dc612090c013e0919bf3e0f467cfca44f
tree9c72ec387e817945bde72c5b2e75e633688509c9
parent7c784b34dc04e12d983ac0dfbb0d9dc9f49a685c
block: use bi_max_vecs to find the bvec pool

Instead of encoding of the bvec pool using magic bio flags, just use
a helper to find the pool based on the max_vecs value.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio-integrity.c
block/bio.c
block/blk.h
include/linux/bio.h
include/linux/blk_types.h