All of lore.kernel.org
 help / color / mirror / Atom feed
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:20:47 +0400	[thread overview]
Message-ID: <3EBD26DF.2090801@namesys.com> (raw)
In-Reply-To: <3EAA98EB.3040702@namesys.com>

Yury Umanets wrote:

> 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 ? 
>
Yes.

>>
>>
> 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? 

We assign an objectid.  We do not have inodes.

>
>
>> - 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,
>
no

>> or are they kept together in the tree ? 
>
yes.

>>
>>
> 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
>>
>>
>>
>>  
>>
>
>


-- 
Hans



  parent reply	other threads:[~2003-05-10 16:20 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
2003-05-10 16:22         ` Hans Reiser
2003-05-10 16:20       ` Hans Reiser [this message]
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=3EBD26DF.2090801@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.