mirror_zfs/module/zcommon
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
..
cityhash.c Compile cityhash code into libzfs 2020-03-27 09:11:22 -07:00
Makefile.in Linux 5.10 compat: use iov_iter in uio structure 2020-12-18 08:48:26 -08:00
zfeature_common.c Enable edonr in FreeBSD 2021-11-16 12:40:10 -07:00
zfs_comutil.c Fix various typos 2021-04-02 18:52:15 -07:00
zfs_deleg.c Remove code for zfs remap 2019-06-24 16:44:01 -07:00
zfs_fletcher_aarch64_neon.c OpenZFS restructuring - move platform specific headers 2019-09-05 09:34:54 -07:00
zfs_fletcher_avx512.c Fix AVX512BW Fletcher code on AVX512-but-not-BW machines 2021-04-26 12:42:42 -07:00
zfs_fletcher_intel.c OpenZFS restructuring - move platform specific headers 2019-09-05 09:34:54 -07:00
zfs_fletcher_sse.c OpenZFS restructuring - move platform specific headers 2019-09-05 09:34:54 -07:00
zfs_fletcher_superscalar4.c Refactor ccompile.h to not include system headers 2020-07-25 20:09:50 -07:00
zfs_fletcher_superscalar.c Refactor ccompile.h to not include system headers 2020-07-25 20:09:50 -07:00
zfs_fletcher.c FreeBSD: Implement sysctl for fletcher4 impl 2020-12-11 10:29:01 -08:00
zfs_namecheck.c Allow pool names that look like Solaris disk names 2021-04-01 08:49:41 -07:00
zfs_prop.c Vdev Properties Feature 2021-11-30 07:46:25 -07:00
zpool_prop.c Vdev Properties Feature 2021-11-30 07:46:25 -07:00
zprop_common.c Vdev Properties Feature 2021-11-30 07:46:25 -07:00