On Thu, Sep 27, 2018 at 04:27:49PM +0800, Dongbo Cao wrote:
> bio->bi_iter.bi_sector is the sector index of current request, no need to be
> aligned.
> instead, bio->bi_iter.bi_size should be aligned to block_bytes-1, not
> block_size-1.
> and bio_sectors is the number of sectors of current reque
bio->bi_iter.bi_sector is the sector index of current request, no need to be
aligned.
instead, bio->bi_iter.bi_size should be aligned to block_bytes-1, not
block_size-1.
and bio_sectors is the number of sectors of current request, also no need to be
aligned, just remove it.
Signed-off-by: Dongb
2 matches
Mail list logo