Re: [PATCH] dm verity: fix not aligned logical block size of RS roots IO

2021-04-13 Thread Jaegeuk Kim
On 04/12, Jaegeuk Kim wrote: > From: Jaegeuk Kim > > commit df7b59ba9245 ("dm verity: fix FEC for RS roots unaligned to block > size") > made dm_bufio->block_size 1024, if f->roots is 2. But, that gives the below > EIO > if the logical block size of the device is 4096, given > v->data_dev_bloc

[PATCH] dm verity: fix not aligned logical block size of RS roots IO

2021-04-12 Thread Jaegeuk Kim
From: Jaegeuk Kim commit df7b59ba9245 ("dm verity: fix FEC for RS roots unaligned to block size") made dm_bufio->block_size 1024, if f->roots is 2. But, that gives the below EIO if the logical block size of the device is 4096, given v->data_dev_block_bits=12. E sd 0: 0:0:0: [sda] tag#30 req