All of lore.kernel.org
 help / color / mirror / Atom feed
From: Phil Howard <phil-reiserfs@ipal.net>
To: Yura Umanets <umanets@priocom.com>
Cc: reiserfs-list@namesys.com
Subject: Re: using reiserfs as a DB
Date: Mon, 22 Apr 2002 18:16:45 -0500	[thread overview]
Message-ID: <20020422231645.GD8407@vega.ipal.net> (raw)
In-Reply-To: <3CC45294.2060806@priocom.com>

On Mon, Apr 22, 2002 at 09:12:36PM +0300, Yura Umanets wrote:

| Phil Howard wrote:
| 
| >"By the keys" means what?  Are the keys the filenames/paths, 
| 
| The key in reiserfs seems like four-dimentional coordinate of the 
| certain item in filesystem.
| 
| The first component is identifier of directory where given object (file 
| or directory) lies. Second - identifier of the given object. Third 
| component - offset inside object. If object is file, then offset is 
| offset inside this file, if directory - hashed name of first entry in 
| this direntry. And finally last component is type of the item (statdata, 
| direntry, direct item, indirect item).

How is the application going to know what the key is for a particular
file?  How is the application going to translate what it has as a key,
into the kind of key the raw interface uses?  How costly is this lookup?

-- 
-----------------------------------------------------------------
| Phil Howard - KA9WGN |   Dallas   | http://linuxhomepage.com/ |
| phil-nospam@ipal.net | Texas, USA | http://phil.ipal.org/     |
-----------------------------------------------------------------

  parent reply	other threads:[~2002-04-22 23:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-21 20:53 using reiserfs as a DB Phil Howard
2002-04-22 13:20 ` Oleg Drokin
2002-04-22 13:47   ` Hans Reiser
2002-04-22 14:03     ` Nikita Danilov
2002-04-22 17:44   ` Phil Howard
2002-04-22 18:12     ` Yura Umanets
2002-04-22 19:26       ` Richard Emslie
2002-04-23  6:44         ` Oleg Drokin
2002-04-22 23:16       ` Phil Howard [this message]
2002-04-23  6:46         ` Oleg Drokin
2002-04-23  8:50     ` Nikita Danilov

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=20020422231645.GD8407@vega.ipal.net \
    --to=phil-reiserfs@ipal.net \
    --cc=reiserfs-list@namesys.com \
    --cc=umanets@priocom.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.