From: Jan Kara Subject: Re: Ordered mode rewrite patch Date: Tue, 8 Apr 2008 23:16:41 +0200 Message-ID: <20080408211641.GD21869@duck.suse.cz> References: <20080408121149.GB6901@duck.suse.cz> <47FBD1A4.80606@cygnusx-1.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Marcelo Tosatti , linux-ext4@vger.kernel.org To: Nathan Grennan Return-path: Received: from styx.suse.cz ([82.119.242.94]:53600 "EHLO mail.suse.cz" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752635AbYDHVQm (ORCPT ); Tue, 8 Apr 2008 17:16:42 -0400 Content-Disposition: inline In-Reply-To: <47FBD1A4.80606@cygnusx-1.org> Sender: linux-ext4-owner@vger.kernel.org List-ID: On Tue 08-04-08 13:12:20, Nathan Grennan wrote: > Jan Kara wrote: >> Hello, >> >> attached is a jumbo patch that reverses locking order of transaction >> start and page lock in ext3 and rewrites handling of ordered data mode in >> JBD and ext3. Note that the patch will break compilation of ext4 and >> OCFS2. >> The patch survives LTP run on my test machine so it shouldn't eat your >> data >> immediately but bugs are of course possible... >> I'm very interested in any results (both positive and negative) you >> could >> get with it :). Thanks for testing it. >> >> Honza >> >> PS: CCing also linux-ext4 list in case there are some other interested >> testers. Next on my todo list is to port this for ext4... >> > I am trying to apply the patch to Fedora 8's kernel-2.6.24.4-64, and it > fails on all the files. > > + '[' '!' -f > /home/builder/rpmbuild/SOURCES/kernel-2.6.24.4/ext3-jbd-2.6.25-ordered_mode.patch > ']' > + case "$patch" in > + patch -p1 -F1 -s > 1 out of 26 hunks FAILED -- saving rejects to file fs/ext3/inode.c.rej > 1 out of 11 hunks FAILED -- saving rejects to file fs/jbd/commit.c.rej > 1 out of 12 hunks FAILED -- saving rejects to file fs/jbd/transaction.c.rej > 1 out of 1 hunk FAILED -- saving rejects to file > include/linux/writeback.h.rej Hmm, strange so many chunks failed but anyway, the patch is against recent Linus's git - I think 2.6.25-rc7 will do just fine. Honza -- Jan Kara SUSE Labs, CR