Hi, I would like to test Martin Matuskas patch for ZFS v28 against stable. Can I patch against any stable (like stable of today) or does it necessarily need to be the stable-tree of the date specified in the patch-file? If the latter should be true, how do I obtain a stable tree of any given date? Thanks for any help, kind regards, -- Christopher J. Ruwe TZ GMT + 1 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 834 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20110114/05ceb8dc/signature.pgp
On 14/01/2011 17:19, Christopher J. Ruwe wrote:> Hi, > > I would like to test Martin Matuskas patch for ZFS v28 against stable. > Can I patch against any stable (like stable of today) or does it > necessarily need to be the stable-tree of the date specified in the > patch-file? > > If the latter should be true, how do I obtain a stable tree of any > given date? > > Thanks for any help, kind regards,You can generally patch against a version more recent than when the patch was released, up to a point. If there are commits to any of the files touched by the patch after the patch date, then the patch may not apply properly, or the result may not work correctly. However, in this case Martin generally produces an updated patch-set within a fairly short amount of time. To obtain a copy of the stable sources as of a specific date, depends on how you're getting the sources. csup(1) or cvsup(1) has a date parameter which you can add to your sup-file. See csup(1). svn has a number of options for checking out previous revisions. Either work out the revision corresponding to the date you want, or give the date like so: svn co -r '{ 2010-01-14 }' Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20110114/2880a87a/signature.pgp
To use with newer stable (or releng/8.2) use a more recent patch from: http://people.freebsd.org/~mm/patches/zfs/v28/ Cheers, mm D?a 14.01.2011 18:19, Christopher J. Ruwe wrote / nap?sal(a):> Hi, > > I would like to test Martin Matuskas patch for ZFS v28 against stable. > Can I patch against any stable (like stable of today) or does it > necessarily need to be the stable-tree of the date specified in the > patch-file? > > If the latter should be true, how do I obtain a stable tree of any > given date? > > Thanks for any help, kind regards,
On Fri, 14 Jan 2011 18:19:25 +0100 "Christopher J. Ruwe" <cjr@cruwe.de> wrote:> Hi, > > I would like to test Martin Matuskas patch for ZFS v28 against stable. > Can I patch against any stable (like stable of today) or does it > necessarily need to be the stable-tree of the date specified in the > patch-file? > > If the latter should be true, how do I obtain a stable tree of any > given date? > > Thanks for any help, kind regards,> [...]Thank you all for your kind help. Currently I am running freebsd as of *default release=cvs tag=RELENG_8 date=2010.12.19.13.00.00, the zfs patch from the 18th Dec and zfs v28 save for the root pool. All has run very nicely, I have had no issues and have not noted anything peculiar. Many thanks, kind regards, -- Christopher J. Ruwe TZ GMT + 1 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 834 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20110121/6902a3ab/signature.pgp