lkml.org 
[lkml]   [2003]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.065 / U:8.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site