Re: SUJ Patches for 8.X ???

2010-06-04 Thread Dimitry Andric
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.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: SUJ Patches for 8.X ???

2010-06-04 Thread Jason

On Fri, Jun 04, 2010 at 05:00:25PM +0200, Dimitry Andric thus spake:

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.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org



I wasn't sure what SUJ was, so I looked it up and it sounds like a great
feature to come to FreeBSD. I also found this email from Jeff that may be a
good resource as well.

http://lists.freebsd.org/pipermail/freebsd-current/2010-January/014811.html

-j
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


SUJ Patches for 8.X ???

2010-06-03 Thread David Rhodus
Anyone have a SUJ patch set for 8.x ?
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org