diff options
author | Christoph Hellwig <hch@lst.de> | 2019-04-19 08:56:24 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-04-22 09:48:12 -0600 |
commit | f9f76879bc4521019697970bad3bc1dd0bec211f (patch) | |
tree | 500c0d702e1f9168668cb3c90b80a9051597aa97 /block/bounce.c | |
parent | f6b50160a06d4a0d6a3999ab0c5aec4f52dba248 (diff) | |
download | linux-f9f76879bc4521019697970bad3bc1dd0bec211f.tar.gz linux-f9f76879bc4521019697970bad3bc1dd0bec211f.tar.bz2 linux-f9f76879bc4521019697970bad3bc1dd0bec211f.zip |
block: avoid scatterlist offsets > PAGE_SIZE
While we generally allow scatterlists to have offsets larger than page
size for an entry, and other subsystems like the crypto code make use of
that, the block layer isn't quite ready for that. Flip the switch back
to avoid them for now, and revisit that decision early in a merge window
once the known offenders are fixed.
Fixes: 8a96a0e40810 ("block: rewrite blk_bvec_map_sg to avoid a nth_page call")
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bounce.c')
0 files changed, 0 insertions, 0 deletions