diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2008-08-25 22:36:08 +0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-08-27 11:50:19 +0400 |
commit | aefcc28a3a63ac33a298777aa50ba43641c75241 (patch) | |
tree | d72a23323e80b45da16ea916c9abe03d6a3f6bfd /Makefile | |
parent | 76029ff37f31dad64641489c610d98955217bb68 (diff) | |
download | linux-aefcc28a3a63ac33a298777aa50ba43641c75241.tar.xz |
bio: fix __bio_copy_iov() handling of bio->bv_len
The commit c5dec1c3034f1ae3503efbf641ff3b0273b64797 introduced
__bio_copy_iov() to add bounce support to blk_rq_map_user_iov.
__bio_copy_iov() uses bio->bv_len to copy data for READ commands after
the completion but it doesn't work with a request that partially
completed. SCSI always completes a PC request as a whole but seems
some don't.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: stable@kernel.org
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions