All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Reiser4: Compilation Error on 2.6.28.1_[Scanned]
@ 2009-01-25 17:15 Volker Armin Hemmann
  2009-01-25 17:32 ` Edward Shishkin
  0 siblings, 1 reply; 10+ messages in thread
From: Volker Armin Hemmann @ 2009-01-25 17:15 UTC (permalink / raw)
  To: reiserfs-devel

On Montag 19 Januar 2009, Edward Shishkin wrote:
> Ingo Bormuth wrote:
> > Reiser4-for-2.6.28 does apply but fails to compile on
> > vanilla-2.6.28.1 due to the following commit:
> >
> > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit
> >diff;h=54566b2c1594c2326a645a3551f9d989f7ba3c5e
> >
> > Attached is a tiny fix which works fine here.
>
> yeah, with your patch it will act as earlier,
> however, -mm guys decided to get rig of __GFP_FS flag:
> http://userweb.kernel.org/~akpm/mmotm/broken-out/fs-symlink-write_begin-all
>ocation-context-fix-reiser4-fix.patch it seems they found it deadlocky..

so without Ingo Bormuth's patch you can't use r4 with 2.6.28.1 and later and 
with his patch there is a risk of deadlocks?

Glück Auf,
Volker

--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Reiser4: Compilation Error on 2.6.28.1_[Scanned]
@ 2009-01-19  0:53 Ingo Bormuth
  2009-01-19 21:27 ` Edward Shishkin
  0 siblings, 1 reply; 10+ messages in thread
From: Ingo Bormuth @ 2009-01-19  0:53 UTC (permalink / raw)
  To: reiserfs devel

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

Reiser4-for-2.6.28 does apply but fails to compile on
vanilla-2.6.28.1 due to the following commit:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=54566b2c1594c2326a645a3551f9d989f7ba3c5e

Attached is a tiny fix which works fine here.


-- 
Ingo Bormuth,  voicebox & telefax:  +49-(0)-12125-10226517
PGP public key 86326EC9 at http://ibormuth.efil.de/contact

[-- Attachment #2: reiser4-for-2.6.28.1-grab_cache_page_write_begin.patch --]
[-- Type: text/x-patch, Size: 400 bytes --]

--- /tmp/reiser4/plugin/file/file_conversion.c	2009-01-19 00:39:04.548008815 +0100
+++ fs/reiser4/plugin/file/file_conversion.c	2009-01-19 00:41:10.956013107 +0100
@@ -686,7 +686,7 @@
 	start = pos & (PAGE_CACHE_SIZE - 1);
 	end = start + len;
 
-	page = __grab_cache_page(mapping, index);
+	page = grab_cache_page_write_begin(mapping, index, flags);
 	*pagep = page;
 	if (!page)
 		return -ENOMEM;

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

end of thread, other threads:[~2009-01-27 10:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-25 17:15 Reiser4: Compilation Error on 2.6.28.1_[Scanned] Volker Armin Hemmann
2009-01-25 17:32 ` Edward Shishkin
2009-01-25 17:37   ` Volker Armin Hemmann
2009-01-25 17:44     ` Edward Shishkin
2009-01-25 17:52       ` Teran McKinney
2009-01-25 17:56       ` Volker Armin Hemmann
  -- strict thread matches above, loose matches on Subject: below --
2009-01-19  0:53 Ingo Bormuth
2009-01-19 21:27 ` Edward Shishkin
2009-01-25 17:13   ` Volker Armin Hemmann
2009-01-27 10:02     ` Ingo Bormuth

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.