From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Masover Subject: Re: reiser4 performance Date: Tue, 09 Aug 2005 21:11:04 -0500 Message-ID: <42F96238.1000502@slaphack.com> References: <42F95994.7060705@slaphack.com> <200508092051.07712.pat@patdouble.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com In-Reply-To: <200508092051.07712.pat@patdouble.com> List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: pat@patdouble.com Cc: reiserfs-list@namesys.com Pat Double wrote: > Forgive me for moving to private, but I've posted this on the list before > without comment. Make it public again if you like. > The 2.6.12.x patches and 2.6.12.x applied from -mm have incorrect behavior > when modifying the root directory. If you add or remove files in the root, > the filesystem check fails. You can try this on a ram disk or loop file > system. I'd be interested to see if you'd try it and let me know if you get a > failed filesystem check. I am able to repair without data loss. I'll have to try it sometime, but not now. Does this happen on that -mm kernel if you apply *all* the patches, not just reiser4-specific? (Doing this would eliminate the need for my patch, obviously.) Incidentally, if you've been watching the list, I recently recovered some ungodly amount of data that I'd effectively "rm -rf"ed. The kernel used both to create that catastrophy and to recover from it was a 2.6.12.2 kernel, patched just as I described, using fsck.reiser4 1.0.4. > On Tuesday 09 August 2005 08:34 pm, David Masover wrote: > >>Gregory Maxwell wrote: >> >>>On 8/8/05, David Masover wrote: >> >>[...] >> >> >>>My ability to use it is severely hampered only being able to use it on >>>boxes running test-kernel of the day.. which are laden with other >>>issues unrelated to reiser4 that I don't have time to deal with. >> >>How recent a Reiser4 do you need? There are some patches against the >>vanilla kernel at >> >>http://namesys.com/pub/reiser4-for-2.6/ >> >>But those seem out of date and don't work for me. But, the patches from >>the mm-kernel have been rock-solid for me. I'm taking the vanilla >>2.6.12.3 kernel and patching it with the Reiser4 patches from >>2.6.12-mm2. Unpack this: >> >>http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.12/2.6.12-mm >>2/2.6.12-mm2-broken-out.tar.bz2 >> >>to /usr/src/ and run this: >> >>#!/bin/sh >># hack to bring mm reiser4 back to vanilla >>cd /usr/src/linux >>for i in `grep reiser4 ../broken-out/series`; do >> patch -p1 < ../broken-out/$i; >>done >> >>I've attached one patch of my own that makes it compile properly -- >>apply after you run the script above. > >