* [uml-devel] Humfs metadata api tdb backend
@ 2004-05-25 21:38 Piotr Neuman
0 siblings, 0 replies; 3+ messages in thread
From: Piotr Neuman @ 2004-05-25 21:38 UTC (permalink / raw)
To: user-mode-linux-devel
[-- 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [uml-devel] Humfs metadata api tdb backend
@ 2004-05-25 21:44 Piotr Neuman
0 siblings, 0 replies; 3+ messages in thread
From: Piotr Neuman @ 2004-05-25 21:44 UTC (permalink / raw)
To: user-mode-linux-devel
One more thing: access mode support makes meta_fs backend incomaptible with
the vanilla 2.6.26-1 one and Jeff Dike's humfsify.
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* [uml-devel] Humfs metadata api tdb backend
@ 2004-05-27 21:16 Piotr Neuman
0 siblings, 0 replies; 3+ messages in thread
From: Piotr Neuman @ 2004-05-27 21:16 UTC (permalink / raw)
To: user-mode-linux-devel
[-- Attachment #1: Type: text/plain, Size: 539 bytes --]
This version should be pretty close to final. I hope Jeff Dike will include it
in the next 2.4 UML release.
Changes:
- tdb keys are now safe not to ever collide,
- Humfs now supports unmounting (that makes meta_tdb fully operational),
- fixed some bugs.
Simple program to list metadata from tdb file is included (tdbfsck).
Metadata structure kept in tdb may still change in an uncompatible way.
Patch also available at:
http://kem.p.lodz.pl/~peter/humfs-2.4.26-1-meta_tdb-2.patch.bz2
ps. Thanks to Oleg Drokin for reviewing my code.
[-- Attachment #2: humfs-2.4.26-1-meta_tdb-2.patch.bz2 --]
[-- Type: application/x-bzip2, Size: 22651 bytes --]
[-- Attachment #3: tdbfsck-0.0.1.tar.gz --]
[-- Type: application/x-tgz, Size: 17954 bytes --]
[-- Attachment #4: superblock --]
[-- Type: text/plain, Size: 54 bytes --]
version 1
used 394962944
total 734003200
metadata tdb
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-05-27 21:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-27 21:16 [uml-devel] Humfs metadata api tdb backend Piotr Neuman
-- strict thread matches above, loose matches on Subject: below --
2004-05-25 21:44 Piotr Neuman
2004-05-25 21:38 Piotr Neuman
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.