From: Yury Umanets <umka@namesys.com>
To: Fred -- Speed Up -- <speedup@free.fr>
Cc: reiserfs-list@namesys.com
Subject: Re: Some questions about Reiser4
Date: Sat, 26 Apr 2003 18:34:19 +0400 [thread overview]
Message-ID: <3EAA98EB.3040702@namesys.com> (raw)
In-Reply-To: <000b01c30bf7$bf47b080$0200a8c0@xpstation>
Fred -- Speed Up -- wrote:
>Now that I know that keys depend on inode numbers, I can understand some
>points a far better way., thanks a lot ;)
>
Inode number has the different nature in different filesystems.
>
>- But I didn't knew Reiser4 was using inodes, as I thought everything was
>stored in the tree ... now, you say Reiser4 stores directories and small
>files in the tree, but isn't that kind of blobs Reiser4 would not use ?
>
Hans will answer this in monday.
>- In the official documentation, it is said that blobs have moved out from
>Reiser4, is that true ?
>
And this one.
>- In case of a small file being written to the disk, even if it is kept in
>the tree you assign it an inode number ?
>
Of course. Each file contains of the following:
(1) stat data (inode in VFS notation)
(2) some body (tails, extents, directory items, etc)
If we do not assign inode to small file, how VFS will handle it? And how
reiser4 will find it in the tree?
>- What do you really mean by "flush" : can it be considered as a mantainance
>operation that's running from time to time to clean the tree ?
>
Yes. In general flush is reiser4 subsystem, supposed to flush slums
(dirty pieces of tree) to the disk. Of course those slums should be
served in particular maner (packing, allocation) I have written about it.
> I saw that
>programs can ask Reiser4 to flush, does flush in this case mean "physically
>write data to the disk" ?
>
It does mean and this too.
>- When resolving a path, you still need to physically open directories, this
>means searching through the tree : isn't there another data structure
>intended to cache path data so that resolving a path operation doesn't
>include searching the main tree ?
>
Actually there is so called CBK cache. This is simple mechanism to
satisfy tree lookups (by a key) without searching though the tree itself.
But it is used not only in path serach time, but also in other cases
(for instance, for seraching file body item at particular file offset).
> I thought the semantic layer had its own
>structure, not directly dependent on the main tree, for performance
>concerns.
>
>- There is no case of multiple extents use in the official doc, but as you
>explained to me they are commonly used : do you need inodes to store extent
>pointers, or are they kept together in the tree ?
>
I can't comprehend you.
>
>Be sure you'll have full regard on the documents I'm publishing about
>Reiser4.
>
>Than you again,
>
Okay, thanks
>
>Fred
>
>
>
>
>
--
Yury Umanets
"We're flying high, we're watching the world passes by..."
next prev parent reply other threads:[~2003-04-26 14:34 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 [this message]
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
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=3EAA98EB.3040702@namesys.com \
--to=umka@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.