Thread (3 messages) 3 messages, 3 authors, 2016-11-22

Re: [PATCH 1/1] block_dev: Fixed direct I/O bio sector calculation

From: Christoph Hellwig <hch@lst.de>
Date: 2016-11-22 07:32:15

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 <redacted>
Ooops, yeah..

Looks good,

Reviewed-by: Christoph Hellwig <hch@lst.de>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help