public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: miquels@cistron.nl (Miquel van Smoorenburg)
To: linux-kernel@vger.kernel.org
Subject: Re: Used space in bytes
Date: 9 Nov 2000 21:03:30 GMT	[thread overview]
Message-ID: <8uf3f2$41d$1@enterprise.cistron.net> (raw)
In-Reply-To: <20001109191843.B11373@atrey.karlin.mff.cuni.cz> <8uf21i$ro7$1@cesium.transmeta.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 773 bytes --]

In article <8uf21i$ro7$1@cesium.transmeta.com>,
H. Peter Anvin <hpa@zytor.com> wrote:
>Report a block size (really allocation unit size) st_blocks == 1?

If you mean st_blksize, well:

       The value st_blocks gives the size of the file in 512-byte
       blocks.  The value st_blksize gives the "preferred" block­
       size for efficient file system I/O.  (Writing to a file in
       smaller  chunks  may  cause  an  inefficient  read-modify-
       rewrite.)

Telling programs 'please use 1-byte r/w buffers' is probably
a bad idea.

Mike.
-- 
People get the operating system they deserve.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  reply	other threads:[~2000-11-09 21:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-09 18:18 Used space in bytes Jan Kara
2000-11-09 20:39 ` H. Peter Anvin
2000-11-09 21:03   ` Miquel van Smoorenburg [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-11-09 19:31 Petr Vandrovec
2000-11-14 17:39 ` Jan Kara
2000-11-14 18:55 Petr Vandrovec
2000-11-14 18:25 ` Jan Kara

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='8uf3f2$41d$1@enterprise.cistron.net' \
    --to=miquels@cistron.nl \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox