block: remove the 1 and 4 vec bvec_slabs entries
authorChristoph Hellwig <hch@lst.de>
Tue, 2 Feb 2021 17:19:23 +0000 (18:19 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 8 Feb 2021 15:33:16 +0000 (08:33 -0700)
commitde76fd893074ab2cea132c28ac9efd9d0434215e
tree159770f04972dc780800644090558679dcc3066e
parentf007a3d66c5480c8dae3fa20a89a06861ef1f5db
block: remove the 1 and 4 vec bvec_slabs entries

All bios with up to 4 bvecs use the inline bvecs in the bio itself, so
don't bother to define bvec_slabs entries for them.  Also decruftify
the bvec_slabs definition and initialization while we're at it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio.c