zfs/contrib
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
..
bash_completion.d Turn shellcheck into a normal make target. Fix new files it caught 2021-06-01 11:38:49 -07:00
bpftrace Remove basename(1). Clean up/shorten some coreutils pipelines 2021-11-11 13:27:37 -07:00
dracut Remove basename(1). Clean up/shorten some coreutils pipelines 2021-11-11 13:27:37 -07:00
initramfs Fix `zfs:AUTO` autodetection in initramfs scripts 2021-11-13 08:02:50 -07:00
intel_qat Add intel_QAT patches 2020-09-30 13:17:30 -07:00
pam_zfs_key pam_zfs_key: malloc and mlock/munlock won't match 2021-10-22 11:42:34 -07:00
pyzfs Vdev Properties Feature 2021-11-30 07:46:25 -07:00
zcp Fix contrib/zcp/Makefile.am 2019-10-30 12:37:49 -07:00
Makefile.am Turn shellcheck into a normal make target. Fix new files it caught 2021-06-01 11:38:49 -07:00