| From | Sent On | Attachments |
|---|---|---|
| Andriy Gapon | Apr 14, 2012 8:37 am | |
| Andriy Gapon | Apr 14, 2012 10:35 am | |
| Bob Friesenhahn | Apr 14, 2012 6:00 pm | |
| Garrett Cooper | Apr 14, 2012 7:30 pm | |
| John Baldwin | Apr 16, 2012 6:55 am | |
| vermaden | Apr 16, 2012 10:34 pm | |
| Andriy Gapon | Apr 17, 2012 1:21 pm | |
| John Baldwin | Apr 17, 2012 1:43 pm | |
| Andriy Gapon | Apr 17, 2012 11:01 pm | |
| Andriy Gapon | Apr 18, 2012 1:57 am | |
| Andriy Gapon | Apr 18, 2012 2:18 am | |
| John Baldwin | Apr 18, 2012 6:41 am | |
| Ian Lepore | Apr 18, 2012 7:22 am | |
| Andriy Gapon | Apr 18, 2012 7:36 am | |
| Ian Lepore | Apr 18, 2012 7:39 am | |
| Andriy Gapon | Apr 18, 2012 7:59 am | |
| John Baldwin | Apr 18, 2012 10:47 am | |
| Marius Strobl | Apr 22, 2012 2:20 pm | |
| Andrey V. Elsukov | Apr 22, 2012 11:23 pm | |
| Andriy Gapon | Apr 27, 2012 2:05 am | |
| Andriy Gapon | Apr 27, 2012 2:13 am | |
| Andrey V. Elsukov | Apr 27, 2012 3:37 am | |
| Andriy Gapon | Apr 27, 2012 7:06 am | |
| Marius Strobl | Apr 29, 2012 9:46 am | |
| Andriy Gapon | Apr 30, 2012 12:03 am | |
| Marius Strobl | May 1, 2012 1:20 pm | |
| Andriy Gapon | May 3, 2012 8:02 am | |
| Andriy Gapon | May 3, 2012 8:23 am | |
| John Baldwin | May 4, 2012 8:24 am | |
| Andriy Gapon | May 5, 2012 2:30 am | |
| Andriy Gapon | May 5, 2012 2:52 am | |
| Bruce Evans | May 5, 2012 3:49 am | |
| John Baldwin | May 7, 2012 6:52 am | |
| Andriy Gapon | May 7, 2012 7:34 am | |
| Andriy Gapon | May 7, 2012 7:46 am | |
| Andriy Gapon | May 7, 2012 8:15 am | |
| John Baldwin | May 7, 2012 10:37 am | |
| John Baldwin | May 7, 2012 10:43 am | |
| Andriy Gapon | May 8, 2012 12:14 am | |
| John Baldwin | May 8, 2012 7:15 am | |
| Andriy Gapon | May 8, 2012 11:34 am | |
| Andriy Gapon | May 11, 2012 3:31 pm |
| Subject: | Re: [review request] zfsboot/zfsloader: support accessing filesystems within a pool | |
|---|---|---|
| From: | Ian Lepore (free...@damnhippie.dyndns.org) | |
| Date: | Apr 18, 2012 7:39:44 am | |
| List: | org.freebsd.freebsd-fs | |
On Wed, 2012-04-18 at 17:36 +0300, Andriy Gapon wrote:
on 18/04/2012 17:22 Ian Lepore said the following:
YES! A size field (preferably as the first field in the struct) along with a flag to indicate that it's a new-style boot info struct that starts with a size field, will allow future changes without a lot of drama. It can allow code that has to deal with the struct without interpretting it (such as trampoline code that has to copy it to a new stack or memory area as part of loading the kernel) to be immune to future changes.
Yeah, placing the new field at front would immediately break compatibility and even access to the flags field :-)
Code would only assume the new field was at the front of the struct if the new flag is set, otherwise it would use the historical struct layout.
-- Ian
_______________________________________________ free...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-fs To unsubscribe, send any mail to "free...@freebsd.org"





