From: Frank Cusack <fcusack@fcusack.com>
To: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: Linus Torvalds <torvalds@osdl.org>, lkml <linux-kernel@vger.kernel.org>
Subject: Re: nfs fstat st_blocks overreporting
Date: Mon, 13 Oct 2003 18:00:51 -0700 [thread overview]
Message-ID: <20031013180051.A8501@google.com> (raw)
In-Reply-To: <16266.50390.93346.47602@charged.uio.no>; from trond.myklebust@fys.uio.no on Mon, Oct 13, 2003 at 11:29:26AM -0400
On Mon, Oct 13, 2003 at 11:29:26AM -0400, Trond Myklebust wrote:
> >>>>> " " == Frank Cusack <fcusack@fcusack.com> writes:
>
> > While you know I disagree that s_blocksize should be wtmult
> > (ie, it is wtmult?wtmult:512 and I think it should be
> > MAX(rsize,wsize)), in any event the blocks used reporting is
> > incorrect in that it assumes a 512 byte blocksize.
>
> Frank,
>
> man 2 stat
>
> i_blocks a.k.a. stat->st_blocks is _defined_ to be in 512byte
> units. It bears no relation to the st_blksize. If you don't like that,
> spec then by all means appeal to the POSIX committee that wrote
> it. (You probably wouldn't be the first to do so)
>
> Pending the outcome of such an appeal, though, the patch must be
> rejected...
I'm an idiot.
/fc
next prev parent reply other threads:[~2003-10-14 1:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-13 14:53 nfs fstat st_blocks overreporting Frank Cusack
2003-10-13 15:29 ` Trond Myklebust
2003-10-14 1:00 ` Frank Cusack [this message]
2003-10-13 16:23 ` Linus Torvalds
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031013180051.A8501@google.com \
--to=fcusack@fcusack.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
--cc=trond.myklebust@fys.uio.no \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.