From: "Frank Denis (Jedi/Sector One)" <lkml@pureftpd.org>
To: Andrew Benton <andy@benton987.fsnet.co.uk>
Cc: linux-kernel@vger.kernel.org
Subject: Re: reiser4 crash
Date: Sat, 4 Dec 2004 13:18:15 +0100 [thread overview]
Message-ID: <20041204121837.GA1998@c9x.org> (raw)
In-Reply-To: <41B1A3AA.5060703@benton987.fsnet.co.uk>
On Sat, Dec 04, 2004 at 11:46:50AM +0000, Andrew Benton wrote:
> I've been using reiser4 for a couple of months. A couple of days ago I
> did something stupid with Abiword, the disk started thrashing and as the
> system crashed it left this on the screen
You need that patch.
diff -urN linux-2.6.10-rc2-mm4/fs/reiser4/plugin/file/file.c /usr/src/linux-2.6.10-rc2-mm4-jedi1/fs/reiser4/plugin/file/file.c
--- linux-2.6.10-rc2-mm4/fs/reiser4/plugin/file/file.c 2004-12-03 22:31:54.502630648 +0100
+++ /usr/src/linux-2.6.10-rc2-mm4-jedi1/fs/reiser4/plugin/file/file.c 2004-12-03 22:17:11.113926144 +0100
@@ -1741,6 +1741,8 @@
while (left > 0) {
size_t to_read;
+ txn_restart_current();
+
size = i_size_read(inode);
if (*off >= size)
/* position to read from is past the end of file */
@@ -1774,7 +1776,6 @@
if (user_space)
reiser4_put_user_pages(pages, nr_pages);
drop_nonexclusive_access(uf_info);
- txn_restart_current();
if (read < 0) {
result = read;
@@ -1975,6 +1976,8 @@
drop_nonexclusive_access(unix_file_inode_data(inode));
up_read(&reiser4_inode_data(inode)->coc_sem);
+ txn_restart_current();
+
reiser4_exit_context(&ctx);
return page;
}
--
Frank - my stupid blog: http://00f.net
next prev parent reply other threads:[~2004-12-04 12:18 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-04 11:46 reiser4 crash Andrew Benton
2004-12-04 12:18 ` Frank Denis (Jedi/Sector One) [this message]
2004-12-04 12:20 ` Frank Denis (Jedi/Sector One)
2004-12-04 12:52 ` Mark Nipper
2004-12-04 13:52 ` Andrew Benton
-- strict thread matches above, loose matches on Subject: below --
2008-11-11 20:50 Reiser4 crash geearf
2008-11-16 23:34 ` Edward Shishkin
2008-11-19 4:11 ` geearf
[not found] <5c7c368b0711141324l168d9b9fq1fb01cbddbc359cb@mail.gmail.com>
2007-11-14 21:28 ` Edward Shishkin
2007-11-14 21:40 ` Hubert Chathi
2007-10-18 10:39 Hubert (Chan) Chathi
2007-10-18 13:34 ` Edward Shishkin
2007-11-14 15:38 ` Hubert Chathi
2004-11-25 17:15 reiser4 crash Yiannis Mavroukakis
2004-11-19 8:47 Sami Liedes
2004-11-25 7:54 ` Vladimir Saveliev
2004-11-25 9:36 ` Sami Liedes
2004-11-25 11:19 ` Cal
2004-11-25 11:23 ` mjt
2004-11-25 11:42 ` Cal
2004-11-25 12:05 ` mjt
2004-11-25 12:35 ` Cal
2004-11-25 16:55 ` Vladimir Saveliev
2004-11-25 18:21 ` Cal
2004-11-25 18:48 ` mjt
2004-11-25 20:00 ` Cal
2004-11-25 20:21 ` mjt
2004-11-25 21:14 ` Cal
2004-11-25 21:28 ` mjt
2004-11-25 21:42 ` Cal
2004-11-25 21:47 ` mjt
2004-11-25 22:14 ` Cal
2004-07-24 16:27 Francesco Biscani
2004-07-25 7:41 ` mjt
2004-07-25 19:37 ` Francesco Biscani
2004-07-26 15:03 ` Francesco Biscani
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=20041204121837.GA1998@c9x.org \
--to=lkml@pureftpd.org \
--cc=andy@benton987.fsnet.co.uk \
--cc=linux-kernel@vger.kernel.org \
/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.