lkml.org 
[lkml]   [2003]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: statfs() / statvfs() syscall ballsup...
On Thu, Oct 09, 2003 at 03:26:47PM -0700, Linus Torvalds wrote:
> User space shouldn't know or care about frsize, and it doesn't even
> necessarily make any sense on a lot of filesystems, so make it easy for
> the user. It's not as if the rounding errors really matter.

User space has to know about frsize for O_DIRECT alignment.
Some times you just want to write the 512 B you have in hand, not have to
read-modify-write the n KB around it. frsize is much nicer that hunting
up the appropriate block device to BLKSSZGET on .


Joel


--

"I have never let my schooling interfere with my education."
- Mark Twain

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:49    [W:0.437 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site