mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.6.10-rc2-mm1: oops when accessing reiser4 fs's (maybe fix provided)
@ 2004-11-16 18:53 Mathieu Segaud
  2004-11-17  7:09 ` Vladimir Saveliev
  0 siblings, 1 reply; 3+ messages in thread
From: Mathieu Segaud @ 2004-11-16 18:53 UTC (permalink / raw)
  To: reiserfs-list; +Cc: linux-kernel, akpm


I tried 2.6.10-rc2-mm1 and the last reiser4 updates gave some (many many)
oopses flooding my screen :).
I tried reverting reiser4-fix-deadlock.patch and oopses are gone.

I tried this one because thru the quick traces on my screen, I saw a reference
to get_current_context.
The speed of the traces and the unasibility of the box prevented me from
making differences between "real" oopses and BUG_ON(), sorry for that...

If you want some traces I can provide them ASAP (e.g. tomorrow)

Best,

-- 
"I am getting pretty good at running diff and patch now."

	- Jeff Merkey


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.6.10-rc2-mm1: oops when accessing reiser4 fs's (maybe fix provided)
  2004-11-16 18:53 2.6.10-rc2-mm1: oops when accessing reiser4 fs's (maybe fix provided) Mathieu Segaud
@ 2004-11-17  7:09 ` Vladimir Saveliev
  2004-11-17 16:55   ` Mathieu Segaud
  0 siblings, 1 reply; 3+ messages in thread
From: Vladimir Saveliev @ 2004-11-17  7:09 UTC (permalink / raw)
  To: Mathieu Segaud; +Cc: reiserfs-list, linux-kernel, Andrew Morton

[-- Attachment #1: Type: text/plain, Size: 617 bytes --]

Hello

On Tue, 2004-11-16 at 21:53, Mathieu Segaud wrote:
> I tried 2.6.10-rc2-mm1 and the last reiser4 updates gave some (many many)
> oopses flooding my screen :).
> I tried reverting reiser4-fix-deadlock.patch and oopses are gone.
> 
Would you please instead try the attached patch? 

> I tried this one because thru the quick traces on my screen, I saw a reference
> to get_current_context.
> The speed of the traces and the unasibility of the box prevented me from
> making differences between "real" oopses and BUG_ON(), sorry for that...
> 
> If you want some traces I can provide them ASAP (e.g. tomorrow)




[-- Attachment #2: 1.1755 --]
[-- Type: text/plain, Size: 994 bytes --]

# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2004/11/15 16:23:47+03:00 vs@tribesman.namesys.com 
#   unix_file_filemap_nopage: missing context creation is added
# 
# plugin/file/file.c
#   2004/11/15 16:23:45+03:00 vs@tribesman.namesys.com +5 -1
#   unix_file_filemap_nopage: missing context creation is added
# 
diff -Nru a/plugin/file/file.c b/plugin/file/file.c
--- a/plugin/file/file.c	2004-11-17 09:36:11 +03:00
+++ b/plugin/file/file.c	2004-11-17 09:36:11 +03:00
@@ -1961,8 +1961,10 @@
 {
 	struct page *page;
 	struct inode *inode;
-
+	reiser4_context ctx;
+	
 	inode = area->vm_file->f_dentry->d_inode;
+	init_context(&ctx, inode->i_sb);
 
 	/* block filemap_nopage if copy on capture is processing with a node of this file */
 	down_read(&reiser4_inode_data(inode)->coc_sem);
@@ -1972,6 +1974,8 @@
 
 	drop_nonexclusive_access(unix_file_inode_data(inode));
 	up_read(&reiser4_inode_data(inode)->coc_sem);
+
+	reiser4_exit_context(&ctx);
 	return page;
 }
 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.6.10-rc2-mm1: oops when accessing reiser4 fs's (maybe fix provided)
  2004-11-17  7:09 ` Vladimir Saveliev
@ 2004-11-17 16:55   ` Mathieu Segaud
  0 siblings, 0 replies; 3+ messages in thread
From: Mathieu Segaud @ 2004-11-17 16:55 UTC (permalink / raw)
  To: Vladimir Saveliev; +Cc: reiserfs-list, linux-kernel, Andrew Morton

Vladimir Saveliev <vs@namesys.com> disait dernièrement que :

> Hello
>
> On Tue, 2004-11-16 at 21:53, Mathieu Segaud wrote:
>> I tried 2.6.10-rc2-mm1 and the last reiser4 updates gave some (many many)
>> oopses flooding my screen :).
>> I tried reverting reiser4-fix-deadlock.patch and oopses are gone.
>> 
> Would you please instead try the attached patch? 

yep.
indeed it worked
anyway, for the quick answer

>
>> I tried this one because thru the quick traces on my screen, I saw a reference
>> to get_current_context.
>> The speed of the traces and the unasibility of the box prevented me from
>> making differences between "real" oopses and BUG_ON(), sorry for that...
>> 
>> If you want some traces I can provide them ASAP (e.g. tomorrow)
>
>
>
>

-- 
Carrots work on rabbits, they don't work on hungry weasels.

	- Alan Cox on linux-kernel


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-11-17 16:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-16 18:53 2.6.10-rc2-mm1: oops when accessing reiser4 fs's (maybe fix provided) Mathieu Segaud
2004-11-17  7:09 ` Vladimir Saveliev
2004-11-17 16:55   ` Mathieu Segaud

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®