diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-05-20 18:25:47 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-05-30 15:33:32 -0600 |
commit | 338aa96d5661048b3c0cafc6d91876025603cacf (patch) | |
tree | 65a7577a68ff54b69008d59838fb756086728dfb /drivers/md | |
parent | 0b6bad7d669ef2abd3b9e1f8cee1fbd448abbc5c (diff) | |
download | linux-338aa96d5661048b3c0cafc6d91876025603cacf.tar.gz linux-338aa96d5661048b3c0cafc6d91876025603cacf.tar.bz2 linux-338aa96d5661048b3c0cafc6d91876025603cacf.zip |
block: convert bounce, q->bio_split to bioset_init()/mempool_init()
Convert the core block functionality to embedded bio sets.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md')
-rw-r--r-- | drivers/md/dm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c index 4ea404dbcf0b..7d98ee1137b4 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -1582,7 +1582,7 @@ static blk_qc_t __split_and_process_bio(struct mapped_device *md, * won't be affected by this reassignment. */ struct bio *b = bio_clone_bioset(bio, GFP_NOIO, - md->queue->bio_split); + &md->queue->bio_split); ci.io->orig_bio = b; bio_advance(bio, (bio_sectors(bio) - ci.sector_count) << 9); bio_chain(b, bio); |