mirror_zfs/module
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
..
avl Remove avl_size field from struct avl_tree 2021-07-01 09:32:31 -06:00
icp Use fallthrough macro 2021-09-14 10:17:54 -06:00
lua Use fallthrough macro 2021-09-14 10:17:54 -06:00
nvpair Update checkstyle workflow env to ubuntu-20.04 2021-11-02 14:02:57 -06:00
os Vdev Properties Feature 2021-11-30 07:46:25 -07:00
spl Cleanup linux module kbuild files 2020-06-10 09:24:15 -07:00
unicode Update checkstyle workflow env to ubuntu-20.04 2021-11-02 14:02:57 -06:00
zcommon Vdev Properties Feature 2021-11-30 07:46:25 -07:00
zfs Vdev Properties Feature 2021-11-30 07:46:25 -07:00
zstd Fix cross-endian interoperability of zstd 2021-08-30 14:13:46 -07:00
.gitignore Cleanup linux module kbuild files 2020-06-10 09:24:15 -07:00
Kbuild.in Add zstd support to zfs 2020-08-20 10:30:06 -07:00
Makefile.bsd Enable edonr in FreeBSD 2021-11-16 12:40:10 -07:00
Makefile.in Update checkstyle workflow env to ubuntu-20.04 2021-11-02 14:02:57 -06:00