Christoph Hellwig 320ea869a1 block: improve the gap check in __bio_add_pc_page
If we can add more data into an existing segment we do not create a gap
per definition, so move the check for a gap after the attempt to merge
into the segment.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-08-22 07:14:36 -06:00
..
2019-07-26 10:32:12 -07:00
2019-07-15 09:20:27 -03:00
2019-07-09 10:45:06 -07:00
2019-07-02 21:03:27 -06:00
2019-05-07 18:14:36 -07:00
2019-07-18 10:20:14 -06:00
2019-06-20 10:29:22 -06:00
2019-07-15 09:20:27 -03:00
2019-07-15 09:20:27 -03:00
2018-11-07 13:42:32 -07:00
2019-07-15 09:20:27 -03:00