Re: [BK][PATCH] Reiser4, will double Linux FS performance, pleaseapply

From: Alexander Zarochentcev (zam@namesys.com)
Date: Fri Nov 01 2002 - 12:19:18 EST


Tomas Szepe writes:
> > The atomic transactions that reiser4 offers are a much higher level of
> > data security than data journaling. Really, you should read the 17 page
> > papers I send you URLs to;-).....
> > (www.namesys.com/v4/fast_reiser4.html).
>
> Am I to assume the following is expected behavior then?
>
> # mkfs.reiser4 /dev/sda2
> mkfs.reiser4, 0.1.0
> Information: Reiser4 is going to be created on /dev/sda2.
> (Yes/No): y
> Creating reiser4 on /dev/sda2 with default40 profile...done
> Synchronizing /dev/sda2...done
> # mount /dev/sda2 /ap
> # df /ap
> Filesystem 1k-blocks Used Available Use% Mounted on
> /dev/sda2 1490332 136 1490196 1% /ap
> # (cd /ap && tar xzf /usr/src/linux-2.5.45.tgz)
> # df /ap
> Filesystem 1k-blocks Used Available Use% Mounted on
> /dev/sda2 1490332 200508 1289824 14% /ap
> # sync
> # df /ap
> Filesystem 1k-blocks Used Available Use% Mounted on
> /dev/sda2 1490332 200468 1289864 14% /ap
> # rm -rf /ap/linux-2.5.45
> # df /ap
> Filesystem 1k-blocks Used Available Use% Mounted on
> /dev/sda2 1490332 255436 1234896 18% /ap
> # # wtf is going on here?
> # sync
> # df /ap
> Filesystem 1k-blocks Used Available Use% Mounted on
> /dev/sda2 1490332 85848 1404484 6% /ap
> # umount /ap
> # mount /dev/sda2 /ap
> # df /ap
> Filesystem 1k-blocks Used Available Use% Mounted on
> /dev/sda2 1490332 54532 1435800 4% /ap
> # # and here?

This should help:

diff -Nru a/txnmgr.c b/txnmgr.c
--- a/txnmgr.c Wed Oct 30 18:58:09 2002
+++ b/txnmgr.c Fri Nov 1 20:13:27 2002
@@ -1917,7 +1917,7 @@
                 return;
         }
 
- if (!jnode_is_unformatted) {
+ if (jnode_is_znode(node)) {
                 if ( /**jnode_get_block(node) &&*/
                            !blocknr_is_fake(jnode_get_block(node))) {
                         /* jnode has assigned real disk block. Put it into

>
> T.

Thank you for report.

-- 
Alex.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Nov 07 2002 - 22:00:21 EST