mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-24 03:08:51 +03:00
zfs_debug: specific variant for userspace
Just nice and simple, with room to grow. Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Alexander Motin <mav@FreeBSD.org> Signed-off-by: Rob Norris <robn@despairlabs.com> Sponsored-by: https://despairlabs.com/sponsor/ Closes #16492
This commit is contained in:
committed by
Brian Behlendorf
parent
c22d56e3ed
commit
e8ede2ba78
@@ -30,10 +30,16 @@
|
||||
#include <sys/vdev_impl.h>
|
||||
|
||||
/*
|
||||
* Check if the reserved boot area is in-use.
|
||||
* Check if the reserved boot area is in-use. This is called from
|
||||
* spa_vdev_attach() when adding a device to a raidz vdev, to ensure that the
|
||||
* reserved area is available as scratch space for raidz expansion.
|
||||
*
|
||||
* This function always returns 0, as there are no known external uses
|
||||
* of the reserved area on Linux.
|
||||
* This function currently always returns 0. On Linux, there are no known
|
||||
* external uses of the reserved area. On FreeBSD, the reserved boot area is
|
||||
* used when booting to a ZFS root from an MBR partition.
|
||||
*
|
||||
* Currently nothing using libzpool can add a disk to a pool, so this does
|
||||
* nothing.
|
||||
*/
|
||||
int
|
||||
vdev_check_boot_reserve(spa_t *spa, vdev_t *childvd)
|
||||
|
||||
Reference in New Issue
Block a user