diff options
| author | Ming Lei <ming.lei@canonical.com> | 2016-02-26 23:40:51 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-09 15:34:56 -0800 |
| commit | 0528bdbc4448afd76ca54eb7b4f81dafdf3ba68a (patch) | |
| tree | 0fcefd24f4c5972297c2347b61db5dc4144d32ec /net/switchdev/switchdev.c | |
| parent | 7f74146b5f52660da8119a8fa47c3874363cc037 (diff) | |
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>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
