zfs/lib
Allan Jude 2a673e76a9
Vdev Properties Feature
Add properties, similar to pool properties, to each vdev.
This makes use of the existing per-vdev ZAP that was added as
part of device evacuation/removal.

A large number of read-only properties are exposed,
many of the members of struct vdev_t, that provide useful
statistics.

Adds support for read-only "removing" vdev property.
Adds the "allocating" property that defaults to "on" and
can be set to "off" to prevent future allocations from that
top-level vdev.

Supports user-defined vdev properties.
Includes support for properties.vdev in SYSFS.

Co-authored-by: Allan Jude <allan@klarasystems.com>
Co-authored-by: Mark Maybee <mark.maybee@delphix.com>
Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: Mark Maybee <mark.maybee@delphix.com>
Signed-off-by: Allan Jude <allan@klarasystems.com>
Closes #11711
2021-11-30 07:46:25 -07:00
..
libavl lib{efi,avl,share,tpool,zfs_core,zfsbootenv,zutil}: -fvisibility=hidden 2021-06-09 17:04:32 -07:00
libefi lib{efi,avl,share,tpool,zfs_core,zfsbootenv,zutil}: -fvisibility=hidden 2021-06-09 17:04:32 -07:00
libicp cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00
libnvpair Upgrade to libabigail 2.0.0 2021-11-09 17:36:42 -08:00
libshare libshare: nfs: pass through ipv6 addresses in bracket notation 2021-10-20 10:40:00 -07:00
libspl libspl: fix warning about missing spl_pagesize declaration 2021-09-24 16:59:26 -06:00
libtpool lib{efi,avl,share,tpool,zfs_core,zfsbootenv,zutil}: -fvisibility=hidden 2021-06-09 17:04:32 -07:00
libunicode cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00
libuutil Upgrade to libabigail 2.0.0 2021-11-09 17:36:42 -08:00
libzfs Vdev Properties Feature 2021-11-30 07:46:25 -07:00
libzfs_core Vdev Properties Feature 2021-11-30 07:46:25 -07:00
libzfsbootenv Upgrade to libabigail 2.0.0 2021-11-09 17:36:42 -08:00
libzpool Simplify and document OpenZFS library dependencies 2021-10-07 11:31:26 -06:00
libzstd cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00
libzutil Vdev Properties Feature 2021-11-30 07:46:25 -07:00
Makefile.am Simplify and document OpenZFS library dependencies 2021-10-07 11:31:26 -06:00