All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oleg Drokin <green@namesys.com>
To: Fred -- Speed Up -- <speedup@free.fr>
Cc: reiserfs-list@namesys.com
Subject: Re: Some questions about Reiser4
Date: Mon, 28 Apr 2003 09:58:34 +0400	[thread overview]
Message-ID: <20030428055834.GE22902@namesys.com> (raw)
In-Reply-To: <001e01c30c03$740efb80$0200a8c0@xpstation>

Hello!

On Sat, Apr 26, 2003 at 04:52:25PM +0200, Fred -- Speed Up -- wrote:
> So, what you call "inodes" within Reiser4 are stat data (last access time,
> right, ...) and a way to find the files's data (not directly the physical
> adress, but a piece of information determining exactly the file), mainly for
> VFS compatibility purposes. Are 'inodes' converted to keys when Reiser4 gets
> them from VFS, or do they represent a physical adress on the disk ?

Well, some confusiuon is going on, it seems.
It seems what Yury calls as "inodes" is in fact "object id".
Object id is part of the key. Each item belonging to file/directory/whatever other object
have identical (to other objects belonging to the same object) "object id" part in it's key.
This object id is visible outside of FS as inode number. (but there are no static inode thing
like you see in ext2 for example. The closest object that is similar to inode in the meaning of
ext2fs is "statdata" item. It holds file access modes, size and other stuff. But in fact
it is not necessary that each object should have this "statdata". Also there are no fixed locations
for "statdata"s. Reiser4 sports expandable statdata items that may contain different stuff
based on what kind of files you deal with. E.g. "lightweight" files may not have owner/group/acl stuff
in there (these fields are stored in "unixfile" statdata extension) which might be practical for
single-user systems with only one user.)
This is the same for reiserfs v3 and reiser4. Only in reiserfs v3 we had 32bit (and even less
in 3.5 disk format) wide objectid space and objectids were reusable.
In reiser4 objectid space is 64bits and for now the default setting is not to reuse objectids.

Bye,
    Oleg

  parent reply	other threads:[~2003-04-28  5:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-25 20:40 Some questions about Reiser4 Fred -- Speed Up --
2003-04-26 12:48 ` Yury Umanets
2003-04-26 13:28   ` Fred -- Speed Up --
2003-04-26 14:34     ` Yury Umanets
2003-04-26 14:52       ` Fred -- Speed Up --
2003-04-26 15:10         ` Yury Umanets
2003-05-10 16:25           ` Hans Reiser
2003-04-28  5:58         ` Oleg Drokin [this message]
2003-05-10 16:22         ` Hans Reiser
2003-05-10 16:20       ` Hans Reiser
2003-05-10 16:16 ` Hans Reiser

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=20030428055834.GE22902@namesys.com \
    --to=green@namesys.com \
    --cc=reiserfs-list@namesys.com \
    --cc=speedup@free.fr \
    /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.