Messages in this thread | | | Date | Thu, 12 Jun 2003 15:58:14 +0100 | From | Dave Jones <> | Subject | Re: open(.. O_DIRECT ..) difference in between Linux and FreeBSD .. |
| |
On Thu, Jun 12, 2003 at 03:17:04PM +0200, Andries Brouwer wrote: > Transfer sizes, and the alignment of user buffer > and file offset must all be multiples of the logi- > cal block size of the file system.
Just to confirm something that I wrote in the post-halloween-2.5 doc, that doesn't tally with this..
- The size and alignment of O_DIRECT file IO requests now matches that of the device, not the filesystem. Typically this means that you can perform O_DIRECT IO with 512-byte granularity rather than 4k.
Is this a case of the man pages not following 2.5 yet, or is this incorrect ?
Dave
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |