All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Mahoney <jeffm@suse.com>
To: Valdis.Kletnieks@vt.edu
Cc: Andreas Dilger <adilger@clusterfs.com>,
	Reiserfs mail-list <Reiserfs-List@Namesys.COM>
Subject: Re: "df -i" support
Date: Fri, 14 May 2004 15:30:33 -0400	[thread overview]
Message-ID: <40A51E59.5060708@suse.com> (raw)
In-Reply-To: <200405141906.i4EJ6gZF030124@turing-police.cc.vt.edu>

Valdis.Kletnieks@vt.edu wrote:
> On Fri, 14 May 2004 12:48:23 MDT, Andreas Dilger said:
> 
> 
>>Hmm, why wouldn't reiserfs_statfs() just use that number for the "in use"
>>inodes in the first place?  Sadly, the statfs() interface is broken in
>>the sense that it contains "total" inodes and "free" inodes instead of
>>"in use" inodes, but it shouldn't be difficult to just subtract the
>>number of in-use inodes from 2^32-1 and stick that into the "free" field
>>so that when user-space does the reverse it gets the right number.
> 
> 
> If you get a multi-terabyte filesystem that contains more than 2^32-1 files,
> things will get very pear-shaped....

If you get a ReiserFS v3 filesystem to contain more than 2^32-1 files, 
you've violated the disk format.

-Jeff

-- 
Jeff Mahoney
SuSE Labs

  reply	other threads:[~2004-05-14 19:30 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-13  7:34 "df -i" support Miguel
2004-05-13  9:19 ` Vladimir Saveliev
2004-05-14 15:32   ` Miguel
2004-05-14 16:55     ` Valdis.Kletnieks
2004-05-14 17:40       ` Miguel
2004-05-14 17:48         ` Vladimir Saveliev
2004-05-14 18:26           ` Miguel
2004-05-14 17:50         ` Jonathan Briggs
2004-05-14 17:56           ` Nikita Danilov
2004-05-14 18:26           ` Miguel
2004-05-14 18:33             ` Nikita Danilov
2004-05-15 16:28               ` Carlos Carvalho
2004-05-14 18:48             ` Andreas Dilger
2004-05-14 19:06               ` Valdis.Kletnieks
2004-05-14 19:30                 ` Jeff Mahoney [this message]
2004-05-19 19:41               ` Miguel
2004-05-20 10:35                 ` Nikita Danilov
2004-05-20 19:44                   ` Miguel
2004-05-23 13:54           ` Miguel
2004-05-13  9:54 ` Dr. Giovanni A. Orlando
2004-05-14 15:35   ` Miguel

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=40A51E59.5060708@suse.com \
    --to=jeffm@suse.com \
    --cc=Reiserfs-List@Namesys.COM \
    --cc=Valdis.Kletnieks@vt.edu \
    --cc=adilger@clusterfs.com \
    /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.