diff options
author | Christoph Hellwig <hch@lst.de> | 2021-02-02 20:19:19 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-02-08 18:33:15 +0300 |
commit | dc0b8a57ad7b05036fcb19a5bf0319467597e67a (patch) | |
tree | f1b7d4e71d45c0822ee0230d1bdedb29e4f7dcae /block/bio.c | |
parent | 8358c28a5d44bf0223a55a2334086c3707bb4185 (diff) | |
download | linux-dc0b8a57ad7b05036fcb19a5bf0319467597e67a.tar.xz |
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>
Diffstat (limited to 'block/bio.c')
-rw-r--r-- | block/bio.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/block/bio.c b/block/bio.c index 757fee46cefc..cee2d310f02e 100644 --- a/block/bio.c +++ b/block/bio.c @@ -26,12 +26,6 @@ #include "blk-rq-qos.h" /* - * Test patch to inline a certain number of bi_io_vec's inside the bio - * itself, to shrink a bio data allocation from two mempool calls to one - */ -#define BIO_INLINE_VECS 4 - -/* * if you change this list, also change bvec_alloc or things will * break badly! cannot be bigger than what you can fit into an * unsigned short |