block: reuse BIO_INLINE_VECS for integrity bvecs
authorChristoph Hellwig <hch@lst.de>
Tue, 2 Feb 2021 17:19:19 +0000 (18:19 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 8 Feb 2021 15:33:15 +0000 (08:33 -0700)
commitdc0b8a57ad7b05036fcb19a5bf0319467597e67a
treef1b7d4e71d45c0822ee0230d1bdedb29e4f7dcae
parent8358c28a5d44bf0223a55a2334086c3707bb4185
block: reuse BIO_INLINE_VECS for integrity bvecs

bvec_alloc always uses biovec_slabs, and thus always needs to use the
same number of inline vecs.  Share a single definition for the data
and integrity bvecs.

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