Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Jun 2010 17:00:25 +0200
From:      Dimitry Andric <dimitry@andric.com>
To:        David Rhodus <sdrhodus@gmail.com>
Cc:        stable@freebsd.org, current@freebsd.org
Subject:   Re: SUJ Patches for 8.X ???
Message-ID:  <4C091509.2070607@andric.com>
In-Reply-To: <AANLkTikwx1RaAg6tFBcr4M67K7V0fJtQyPtbbK8nwgkU@mail.gmail.com>
References:  <AANLkTikwx1RaAg6tFBcr4M67K7V0fJtQyPtbbK8nwgkU@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2010-06-04 01:24, David Rhodus wrote:
> Anyone have a SUJ patch set for 8.x ?

http://www.andric.com/freebsd/suj/suj-stable8-r208287-1.diff.bz2

This backports SUJ from head to stable/8 (at r208799), by cherry-picking
the following revisions:

  r207141 | jeff | 2010-04-24 09:05:35 +0200 (Sat, 24 Apr 2010) | 7 lines
  r207142 | pjd | 2010-04-24 09:36:33 +0200 (Sat, 24 Apr 2010) | 2 lines
  r207143 | pjd | 2010-04-24 09:54:49 +0200 (Sat, 24 Apr 2010) | 2 lines
  r207144 | pjd | 2010-04-24 09:58:59 +0200 (Sat, 24 Apr 2010) | 3 lines
  r207145 | jeff | 2010-04-24 09:59:45 +0200 (Sat, 24 Apr 2010) | 4 lines
  r207309 | jeff | 2010-04-28 09:26:41 +0200 (Wed, 28 Apr 2010) | 2 lines
  r207310 | jeff | 2010-04-28 09:57:37 +0200 (Wed, 28 Apr 2010) | 5 lines
  r207421 | jeff | 2010-04-30 06:21:22 +0200 (Fri, 30 Apr 2010) | 7 lines
  r207462 | edwin | 2010-05-01 11:05:06 +0200 (Sat, 01 May 2010) | 7 lines
  r207476 | emaste | 2010-05-01 20:56:45 +0200 (Sat, 01 May 2010) | 4 lines
  r207741 | jeff | 2010-05-07 10:20:56 +0200 (Fri, 07 May 2010) | 8 lines
  r207742 | jeff | 2010-05-07 10:45:21 +0200 (Fri, 07 May 2010) | 7 lines
  r208241 | jeff | 2010-05-18 03:45:28 +0200 (Tue, 18 May 2010) | 11 lines
  r208287 | jeff | 2010-05-19 08:18:01 +0200 (Wed, 19 May 2010) | 11 lines

I have tested:
- Applying this diff to stable/8 at r208799 (any other rev is NOT
  guaranteed to work, but there is a good chance, if not too far off)
- Doing a full buildworld, buildkernel, installkernel, reboot,
  installworld and mergemaster.
- Enabling SUJ on a big filesystem with "tunefs -j enable".
- Randomly resetting the box during a large copy operation on that
  filesystem, seeing the journal is replayed at boot time, and the
  filesystem recovered.

That said, there is NO WARRANTY that this patch works properly.  It
could hose all your filesystems, and/or cause irreversible damage to
your system.  Most likely, even.  You have been warned. :)

Also, please do NOT bother Jeff Roberson about this, as he is probably
busy enough supporting SUJ in head. :)  Instead, direct any problem
reports to me first, or to the freebsd-stable mailing list, if you
prefer.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C091509.2070607>