From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261906AbTJJM2S (ORCPT ); Fri, 10 Oct 2003 08:28:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261909AbTJJM2S (ORCPT ); Fri, 10 Oct 2003 08:28:18 -0400 Received: from inet-mail4.oracle.com ([148.87.2.204]:8331 "EHLO inet-mail4.oracle.com") by vger.kernel.org with ESMTP id S261906AbTJJM2R (ORCPT ); Fri, 10 Oct 2003 08:28:17 -0400 Date: Fri, 10 Oct 2003 05:27:55 -0700 From: Joel Becker To: Linus Torvalds Cc: Trond Myklebust , Ulrich Drepper , Linux Kernel Subject: Re: statfs() / statvfs() syscall ballsup... Message-ID: <20031010122755.GC22908@ca-server1.us.oracle.com> Mail-Followup-To: Linus Torvalds , Trond Myklebust , Ulrich Drepper , Linux Kernel References: <16261.56894.8109.858323@charged.uio.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Burt-Line: Trees are cool. X-Red-Smith: Ninety feet between bases is perhaps as close as man has ever come to perfection. User-Agent: Mutt/1.5.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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