Re: Alignment Issue with Direct IO to NVMe Drive

From: Laine Walker-Avina
Date: Tue Nov 27 2012 - 12:47:38 EST


On Tue, Nov 27, 2012 at 9:05 AM, Matthew Wilcox <willy@xxxxxxxxxxxxxxx> wrote:
> Laine, when this occurs, what is the alignment of 'offset' in the sg
> entry you're looking at? If userspace is passing in an unaligned address,
> I don't think there's anything we do to try to align it.

I thought this was the case as well, but it appears to be aligned
looking at the request in the user space program (fio using libaio in
this case) before the IO is submitted.

Laine
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/