]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
block: check virt boundary in bio_will_gap()
authorMing Lei <ming.lei@canonical.com>
Fri, 26 Feb 2016 15:40:51 +0000 (23:40 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Mar 2016 23:34:56 +0000 (15:34 -0800)
commit0528bdbc4448afd76ca54eb7b4f81dafdf3ba68a
tree0fcefd24f4c5972297c2347b61db5dc4144d32ec
parent7f74146b5f52660da8119a8fa47c3874363cc037
block: check virt boundary in bio_will_gap()

commit e0af29171aa8912e1ca95023b75ef336cd70d661 upstream.

In the following patch, the way for figuring out
the last bvec will be changed with a bit cost introduced,
so return immediately if the queue doesn't have virt
boundary limit. Actually most of devices have not
this limit.

Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/blkdev.h