Skip to contentSkip to conversation

Help on reiserfs documentation

DISCUSSION Mpriyan 3 participants 3 messages Sep 21, 2004

lore
Share & tools
lore
#1 lore raw
In reply to Mpriyan
Quoted 5 lines · Mpriyan

Hello All,

I'm learning about reiserfs. So, I'm looking for some documentation that can explain how the file data is organized on disk in reiserfs 3.6. The documentation that is available in www.namesys.com says that it is for

reiserfs 4.

Quoted 2 lines

Do reiserfs 3.6 and reiserfs 4 have same ondisk structure ? I understand

that

Quoted 1 line

they differ in the way they provide the atomicity. But other than that do

they

Quoted 1 line

have the same layout ?

No they are different.
If you want to do some development/dig deeper you should look at reiser4, as it supports plugins and fixes some design mistakes reiser3 had and it has cleaner code. I guess this is the cause why the reiser3 documentation has disappeared from the namesys homepage.
http://www.namesys.com/v4/v4.html is a good starting point.
The other documentation I know of is the reiser4 source code available in recent -mm kernel series :-)

Quoted 9 lines

Does reiserfs 3.6 use B+ tree for storing its data ? In the source code, it looks like they use some stree. Are there standard definitions of stree ? Or is it a variant of B+ tree with a different name ?

If someone can point me to some documentation, it would be of great help.

-M

Signature · 1 line
lg, Chris
#2 lore raw
In reply to Mpriyan

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mpriyan wrote:

| Hello All,
|
| I'm learning about reiserfs. So, I'm looking for some documentation

that can
| explain how the file data is organized on disk in reiserfs 3.6. The | documentation that is available in www.namesys.com says that it is for reiserfs 4.
|
| Do reiserfs 3.6 and reiserfs 4 have same ondisk structure ? I understand that
| they differ in the way they provide the atomicity. But other than that do they

| have the same layout ?
|
| Does reiserfs 3.6 use B+ tree for storing its data ? In the source code,
| it looks like they use some stree. Are there standard definitions of stree
| ? Or is it a variant of B+ tree with a different name ?
|
| If someone can point me to some documentation, it would be of great help.

There used to be documentation that described this very nicely. Fortunately, the wayback machine still has it.

Check out:
http://web.archive.org/web/20021013181038/www.namesys.com/content_table.html

Another good source for understanding the format is the reiserfs code in grub. It's read-only support, which makes the implementation quite small since it removes most of the complexity in the kernel implementation. If I recall correctly, the format is even described in the comments.

Hans - Is this information still available at namesys.com? I understand that you're primarily supporting reiser4, but all the information previously online about reiser3 is still valuable.

- -Jeff

- --
Jeff Mahoney
SuSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBUJbeLPWxlyuTD7IRAhDiAJ9K/L2sM3T7z4cU9t/oI/8NuXUiXwCfZmuN W4W60G5XqtO03rHjD4oVhq4=
=lVWJ
-----END PGP SIGNATURE-----

Mpriyan

author
#0 lore raw

Hello All,

I'm learning about reiserfs. So, I'm looking for some documentation that can explain how the file data is organized on disk in reiserfs 3.6. The documentation that is available in www.namesys.com says that it is for reiserfs 4.

Do reiserfs 3.6 and reiserfs 4 have same ondisk structure ? I understand that they differ in the way they provide the atomicity. But other than that do they have the same layout ?

Does reiserfs 3.6 use B+ tree for storing its data ? In the source code, it looks like they use some stree. Are there standard definitions of stree ? Or is it a variant of B+ tree with a different name ?

If someone can point me to some documentation, it would be of great help.

-M