diff options
author | dteske <dteske@FreeBSD.org> | 2013-12-16 19:37:15 +0000 |
---|---|---|
committer | dteske <dteske@FreeBSD.org> | 2013-12-16 19:37:15 +0000 |
commit | 848379254cfc081267be275a64b50921d8bace83 (patch) | |
tree | 50c7700d8e52c26037783d100c344805b27b55fe /contrib/llvm/tools/clang/lib/Sema/AttributeList.cpp | |
parent | 44639be98e718ed57a79c97f4c8428228c302948 (diff) | |
download | FreeBSD-src-848379254cfc081267be275a64b50921d8bace83.zip FreeBSD-src-848379254cfc081267be275a64b50921d8bace83.tar.gz |
Improve default ZFS disk layout (tested):
+ For GPT, always provision zfs# partition after swap [for resizability]
+ For MBR, always use a boot pool to relialy place root vdevs at EOD
NB: Fixes edge-cases where MBR combination failed boot (e.g. swap-less)
+ Generalize boot pool logic so it can be used for any scheme (namely MBR)
+ Update existing comments and some whitespace fixes
+ Change some variable names to make reading/debugging the code easier
in zfs_create_boot() (namely prepend zroot_ or bootpool_ to property)
+ Because zroot vdevs are at EOD, no longer need to calculate partsize
(vdev consumes remaining space after allocating swap)
+ Optimize processing of disks -- no reason to loop over the disks 3-4
separate times when we can logically use a single loop to do everything
Discussed on: -stable
MFC after: 3 days
Diffstat (limited to 'contrib/llvm/tools/clang/lib/Sema/AttributeList.cpp')
0 files changed, 0 insertions, 0 deletions