All of lore.kernel.org
 help / color / mirror / Atom feed
From: Piotr Neuman <sikkh@wp.pl>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] Humfs metadata api tdb backend
Date: Tue, 25 May 2004 23:38:52 +0200	[thread overview]
Message-ID: <200405252338.52308.sikkh@wp.pl> (raw)

[-- Attachment #1: Type: text/plain, Size: 1304 bytes --]

I've been working on metadata backend that would use tdb (meta_tdb). It's 
advantages over meta_fs include:

- proper handling of "metadata" named files and dirs,
- compactness (no directory/files structure overhead and storing data in 
binary),

Performace is yet to be tested extensively and compared to meta_fs.

There are also additions to humfs features:

- humfs stores file/dir access modes now (fixes some chmod problems),
- humfs automatically initializes mount dir if only valid "superblock" file is 
present in it (no other files, new humfsify is not yet ready ;),

Example "superblock" is attached. To try meta_fs backend with it just change 
"tdb" to "shadow_fs". To mount humfs:

mount none <uml mount dir> -t humfs -o <host dir>

The patch is against UML release ver. 2.4.26-1. This release is of beta 
quality (should mostly work ;), but please note:

- database format is subject to change (right now db keys may collide, though 
it is very unlikely, I coded new fixed structure but it's not fully debugged 
yet),
- meta_tdb does not support unmouting and remounting (since metadata unmount() 
method is not called by humfs, this is no issue for meta_fs becose of the way 
it operates).

The patch is also available here:

http://kem.p.lodz.pl/~peter/humfs-2.4.26-1-meta_tdb-1.patch.bz2

[-- Attachment #2: humfs.patch.gz --]
[-- Type: application/x-gzip, Size: 24611 bytes --]

[-- Attachment #3: superblock --]
[-- Type: text/plain, Size: 54 bytes --]

version 1
used 394962944
total 734003200
metadata tdb

             reply	other threads:[~2004-05-25 21:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-25 21:38 Piotr Neuman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-05-25 21:44 [uml-devel] Humfs metadata api tdb backend Piotr Neuman
2004-05-27 21:16 Piotr Neuman

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=200405252338.52308.sikkh@wp.pl \
    --to=sikkh@wp.pl \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /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.