lkml.org 
[lkml]   [2003]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: O_DIRECT alignment requirements ?
On Wed, Apr 09, 2003 at 06:53:17PM +0200, Rob van Nieuwkerk wrote:
> I get 4096 with BLKBSZGET on several unmounted partitions on my system
> (RH 2.4.18-27.7.x kernel). Some give 1024 .. Maybe it is because I
> had them mounted first and unmounted them for the test ?

That would be the most likely answer. When you unmount, I don't
believe the filesystem bothers to set_blocksize(get_hardsect_size(dev)).

Joel

--

Life's Little Instruction Book #94

"Make it a habit to do nice things for people who
will never find out."

Joel Becker
Senior Member of Technical Staff
Oracle Corporation
E-mail: joel.becker@oracle.com
Phone: (650) 506-8127
-
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:34    [W:0.078 / U:0.436 seconds]
©2003-2011 Jasper Spaans