From: Hans Reiser <reiser@namesys.com>
To: Yury Umanets <umka@namesys.com>
Cc: Fred -- Speed Up -- <speedup@free.fr>, reiserfs-list@namesys.com
Subject: Re: Some questions about Reiser4
Date: Sat, 10 May 2003 20:25:21 +0400 [thread overview]
Message-ID: <3EBD27F1.1030205@namesys.com> (raw)
In-Reply-To: <3EAAA165.5000403@namesys.com>
Yury Umanets wrote:
> Fred -- Speed Up -- wrote:
>
>> So, what you call "inodes" within Reiser4 are stat data (last access
>> time,
>> right, ...)
>>
> Inode is struct in VFS, but in the case of reiser4 it contains also
> the pointer to the loaded reiser4 stat data item. Stat data item
> contains times, mode, nlinks, size, etc.
>
> Each stat data is tag for file. That each file has one stat data. And
> this stat data can be found by its key. Its kay consists of inode
> number of parent directory, inode number of file itself and offset
> (zero for stat data).
>
>> 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 ?
>>
> Inode numbers may be converted to key.
No. Directory objectid plus file objectid which is used as an inode
number by VFS plus offset can be converted into a tree. You cannot find
a file in reiser4 by objectid (inode number) alone.
> And then key is used for searching whatever in the tree (stat data,
> file body, directory entry, etc).
> But in the case of seraching file body key must contain also offset
> component installed and namely the offset in file we are want to access.
>
>>
>> Now I'm going to reformulate the question I asked you about big file
>> storage
>> :
>> Big files need more than one extent.
>>
> Right.
>
>> But according to the documentation,
>> there seems to be only one pointer associated to each file.
>
> Each big file can contains not limited number of extent items. Each
> extent item contains extent units. They can be accessed/found by key.
> Each extent unit consists of two fields: start (block number) and
> width (number of blocks). In these range from start to start + width
> some piece of file data is lie. But, as there is not anough big
> contiguous range on disk (some of blocks are used for diffrent things,
> like bitmaps, leaves, etc), we should use more than one extent items
> with a lot of extent units inside.
>
>> So how can you
>> point out multiple extents necessary to store big files, using extent
>> pointers in the tree ?
>>
>
>>
>> Be sure I'm awaiting the great Hans and his core dev team ;-)
>>
> Actually I'm one of that team. But there are questions Hans can answer
> better than me, because he written that documentation on our web
> pages. It is not the same what is implemented, but it is rather
> roadmap. And I'm trying to explain you the things which are
> implemebted yet and how do thay implemented. But sometimes I can't
> comprehend your requests :)
>
>>
>> Fred
>>
>>
>>
>>
>>
>
>
--
Hans
next prev parent reply other threads:[~2003-05-10 16:25 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 [this message]
2003-04-28 5:58 ` Oleg Drokin
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=3EBD27F1.1030205@namesys.com \
--to=reiser@namesys.com \
--cc=reiserfs-list@namesys.com \
--cc=speedup@free.fr \
--cc=umka@namesys.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.