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

From: Nikita Danilov (Nikita@Namesys.COM)
Date: Mon Nov 04 2002 - 07:02:54 EST


Tomas Szepe writes:
> Hi,
>
> Another one: trying to build 2.5.45 off a reiser4 mountpoint, I get:
>
> reiser4[pdflush(7)]: flush_scan_extent (fs/reiser4/flush.c:3127)[nikita-2732]:
> WARNING: Flush raced against extent->tail
> reiser4[pdflush(7)]: jnode_flush (fs/reiser4/flush.c:1024)[jmacd-16739]:
> WARNING: flush failed: -11
> jnode_flush failed with err = -11

Can you please try the following patch to the fs/reiser4/flush.c:
----------------------------------------------------------------------
--- /tmp/flush.c Mon Nov 4 14:32:21 2002
+++ flush.c Mon Nov 4 14:32:32 2002
@@ -3149,7 +3149,8 @@ flush_scan_extent(flush_scan * scan, int
                                    only. Will be removed. */
                                 warning("nikita-2732",
                                         "Flush raced against extent->tail");
- ret = -EAGAIN;
+ scan->stop = 1;
+ ret = 0;
                                 goto exit;
                         }
                         assert("jmacd-1230", item_is_extent(&scan->parent_coord));
----------------------------------------------------------------------

> reiser4[pdflush(7)]: flush_scan_extent (fs/reiser4/flush.c:3127)[nikita-2732]:
> WARNING: Flush raced against extent->tail

[...]

> WARNING: Too many iterations: 8192
> reiser4[fixdep(841)]: traverse_tree (fs/reiser4/search.c:465)[nikita-1481]:
> WARNING: Too many iterations: 16384
> reiser4[fixdep(952)]: extent2tail (fs/reiser4/plugin/file/tail_conversion.c:476)[nikita-2282]:
> WARNING: Partial conversion of 105116: 1 of 2
> reiser4[cc1(957)]: extent2tail (fs/reiser4/plugin/file/tail_conversion.c:476)[nikita-2282]:
> WARNING: Partial conversion of 105116: 0 of 2
> [snip]
>
> ... after which r4 crashes completely --
> Starts to hog all cpu time and umount() never goes through.

Try to wait a bit more and check whether any more "WARNING: Too many
iterations" appear, OK?

>
> T.

Nikita.

-
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:32 EST