diff options
author | Sagi Grimberg <sagig@mellanox.com> | 2015-09-03 19:28:23 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-09-11 09:03:50 -0600 |
commit | 46348456c1791053dcbe5a9e21825b10a3c8a8fb (patch) | |
tree | a083b47153c0a53afb12e1163c92f2b2ebe741b7 /crypto/ccm.c | |
parent | 87a816df537e096d404add543ef47b796906c130 (diff) | |
download | linux-46348456c1791053dcbe5a9e21825b10a3c8a8fb.tar.gz linux-46348456c1791053dcbe5a9e21825b10a3c8a8fb.tar.bz2 linux-46348456c1791053dcbe5a9e21825b10a3c8a8fb.zip |
block: Copy a user iovec if it includes gaps
For drivers that don't support gaps in the SG lists handed to
them we must bounce (copy the user buffers) and pass a bio that
does not include gaps. This doesn't matter for any current user,
but will help to allow iser which can't handle gaps to use the
block virtual boundary instead of using driver-local bounce
buffering when handling SG_IO commands.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'crypto/ccm.c')
0 files changed, 0 insertions, 0 deletions