Re: [4.5.0-rc1/-next] unaligned bio-s

From: Jens Axboe
Date: Mon Jan 25 2016 - 21:45:44 EST


On 01/25/2016 06:49 PM, Sergey Senozhatsky wrote:
Hello,

With 4.5.0-rc1/linux-next I see unaligned requests passed to zram block
device.

bio->bi_iter.bi_size is expected to be ZRAM_LOGICAL_BLOCK_SIZE (1 << 12) aligned.

This is current in my for-linus, if you pull in:

git://git.kernel.dk/linux-block.git for-linus

and re-test. It'll go into mainline soon.

--
Jens Axboe