NeilBrown a1d91404cb pktcdvd: use bio_clone_fast() instead of bio_clone()
pktcdvd doesn't change the bi_io_vec of the clone bio,
so it is more efficient to use bio_clone_fast(), and not clone
the bi_io_vec.
This requires providing a bio_set, and it is safest to
provide a dedicated bio_set rather than sharing
fs_bio_set, which filesytems use.
This new bio_set, pkt_bio_set, can also be use for the bio_split()
call as the two allocations (bio_clone_fast, and bio_split) are
independent, neither can block a bio allocated by the other.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2017-06-18 12:40:59 -06:00
..
2017-06-09 09:27:32 -06:00
2017-05-05 18:49:20 -07:00
2017-02-22 11:54:49 -07:00
2017-02-21 11:51:42 -08:00
2017-06-09 09:27:32 -06:00
2017-05-05 18:49:20 -07:00
2017-06-08 08:40:00 -06:00
2017-04-19 09:10:51 -06:00
2017-06-12 08:30:13 -06:00
2017-02-20 12:16:15 +01:00
2013-11-08 09:10:30 -07:00