On Tue, Nov 22, 2016 at 03:38:49PM +0900, Damien Le Moal wrote: > A direct I/O alignment must be always checked against the device blocks size, > but the I/O offset (bio->bi_iter.bi_sector must always use 512B sector unit, and > not the actual logical block size. > > Signed-off-by: Damien Le Moal <damien.lemoal@xxxxxxx> Ooops, yeah.. Looks good, Reviewed-by: Christoph Hellwig <hch@xxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-block" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html