1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/cddl/usr.sbin/zfsd
Alexander Motin e5a4a83784 MFV r318941: 7446 zpool create should support efi system partition
illumos/illumos-gate@7855d95b30
7855d95b30

https://www.illumos.org/issues/7446
  Since we support whole-disk configuration for boot pool, we also will need
  whole disk support with UEFI boot and for this, zpool create should create efi-
  system partition.
  I have borrowed the idea from oracle solaris, and introducing zpool create -
  B switch to provide an way to specify that boot partition should be created.
  However, there is still an question, how big should the system partition be.
  For time being, I have set default size 256MB (thats minimum size for FAT32
  with 4k blocks). To support custom size, the set on creation "bootsize"
  property is created and so the custom size can be set as: zpool create B -
  o bootsize=34MB rpool c0t0d0
  After pool is created, the "bootsize" property is read only. When -B switch is
  not used, the bootsize defaults to 0 and is shown in zpool get output with
  value ''. Older zfs/zpool implementations are ignoring this property.
  https://www.illumos.org/rb/r/219/

Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
Reviewed by: Yuri Pankov <yuri.pankov@gmail.com>
Approved by: Dan McDonald <danmcd@kebe.com>
Author: Toomas Soome <tsoome@me.com>

This commit makes no sense for FreeBSD, that is why I blocked the option,
but it should be good to stay closer to upstream.
2018-02-21 00:18:57 +00:00
..
tests
callout.cc
callout.h
case_file.cc MFV r318941: 7446 zpool create should support efi system partition 2018-02-21 00:18:57 +00:00
case_file.h Optimize zfsd for the happy case 2018-02-15 21:30:30 +00:00
Makefile
Makefile.common
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
vdev_iterator.cc zfsd should be able to online an L2ARC that disappears and returns 2017-10-26 15:28:18 +00:00
vdev_iterator.h
vdev.cc
vdev.h
zfsd_event.cc Optimize zfsd for the happy case 2018-02-15 21:30:30 +00:00
zfsd_event.h zfsd: Allow zfsd to work on any type of GEOM provider 2018-02-14 23:52:39 +00:00
zfsd_exception.cc
zfsd_exception.h
zfsd_main.cc
zfsd.8
zfsd.cc zfsd: Allow zfsd to work on any type of GEOM provider 2018-02-14 23:52:39 +00:00
zfsd.h
zpool_list.cc
zpool_list.h