From: Edward Shishkin <edward@namesys.com>
To: Devils-Hawk <devilshawk@aon.at>
Cc: "reiserfs-list@namesys.com" <reiserfs-list@namesys.com>
Subject: Re: reiser4 panic in do_readpage_extent
Date: Fri, 09 Mar 2007 23:36:15 +0300 [thread overview]
Message-ID: <45F1C53F.2060502@namesys.com> (raw)
In-Reply-To: <45EFFEF4.1030003@aon.at>
[-- Attachment #1: Type: text/plain, Size: 591 bytes --]
Devils-Hawk wrote:
> Recently tried switching from 2.6.18 + reiser4-for-2.6.18-r3.patch.gz,
> which works perfectly fine to 2.6.19 + reiser4-for-2.6.19-r3.patch.gz
> I also tried 2.6.20 laurent riffard's reiser4-for-2.6.20. The last
> both die somewhere during init when one of the 2 following asserts fails:
> extent_file_ops, Line 1160: assert("nikita-2688"),j)
> extent_file_ops, Line 1161: assert("vs-1426"),jnode_page(j) == NULL )
>
> fs was fsck'ed with reiser4progs-1.0.5
>
> regards DevH
>
>
Would you please try the attached patch over reiser4-for-2.6.[19, 20]
Thanks,
Edward.
[-- Attachment #2: reiser4-handle-race-in-readpages-filler.patch --]
[-- Type: text/x-patch, Size: 542 bytes --]
Handle possible race:
do not proceed uf_readpages_filler if page is already uptodate.
Signed-off-by: Edward Shishkin <edward@namesys.com>
---
linux-2.6.20-mm2/fs/reiser4/plugin/file/file.c | 4 ++++
1 files changed, 4 insertions(+)
--- linux-2.6.20-mm2/fs/reiser4/plugin/file/file.c.orig
+++ linux-2.6.20-mm2/fs/reiser4/plugin/file/file.c
@@ -1619,6 +1619,10 @@
lock_page(page);
cbk_done = 1;
}
+ if (PageUptodate(page)) {
+ unlock_page(page);
+ return 0;
+ }
ret = zload(rc->coord.node);
if (ret) {
unlock_page(page);
next prev parent reply other threads:[~2007-03-09 20:36 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-02 20:28 [PATCH] Reiser4 for 2.6.21-rc1 Laurent Riffard
2007-03-02 20:35 ` Laurent Riffard
2007-03-05 17:20 ` Nicolas STRANSKY
2007-03-05 21:21 ` Laurent Riffard
2007-03-06 16:34 ` Edward Shishkin
2007-03-08 12:17 ` reiser4 panic in do_readpage_extent Devils-Hawk
2007-03-09 1:17 ` Edward Shishkin
2007-03-09 20:36 ` Edward Shishkin [this message]
2007-03-09 21:15 ` Devils-Hawk
2007-03-11 13:49 ` Edward Shishkin
[not found] ` <20070306092107.GA13707@zeus.uziel.local>
2007-03-06 23:19 ` [PATCH] Reiser4 for 2.6.21-rc1 Laurent Riffard
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=45F1C53F.2060502@namesys.com \
--to=edward@namesys.com \
--cc=devilshawk@aon.at \
--cc=reiserfs-list@namesys.com \
/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.