rob-wing
3e4ed4213d
Create zap for root vdev
...
And add it to the AVZ, this is not backwards compatible with older pools
due to an assertion in spa_sync() that verifies the number of ZAPs of
all vdevs matches the number of ZAPs in the AVZ.
Granted, the assertion only applies to #DEBUG builds - still, a feature
flag is introduced to avoid the assertion, com.klarasystems:vdev_zaps_v2
Notably, this allows to get/set properties on the root vdev:
% zpool set user:prop=value <pool> root-0
Before this commit, it was already possible to get/set properties on
top-level vdevs with the syntax <type>-<vdev_id> (e.g. mirror-0):
% zpool set user:prop=value <pool> mirror-0
This syntax also applies to the root vdev as it is is of type 'root'
with a vdev_id of 0, root-0. The keyword 'root' as an alias for
'root-0'.
The following tests have been added:
- zpool get all properties from root vdev
- zpool set a property on root vdev
- verify root vdev ZAP is created
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov >
Signed-off-by: Rob Wing <rob.wing@klarasystems.com >
Sponsored-by: Seagate Technology
Submitted-by: Klara, Inc.
Closes #14405
2023-04-20 10:07:56 -07:00
..
2022-07-11 14:16:13 -07:00
2023-01-23 13:14:25 -08:00
2023-04-20 10:07:56 -07:00
2022-05-10 10:18:51 -07:00
2022-09-08 10:32:30 -07:00
2022-05-25 09:18:49 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2021-06-07 09:02:47 -07:00
2023-03-08 11:17:23 -08:00
2023-03-08 11:17:23 -08:00
2023-01-17 11:09:19 -08:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2023-03-14 14:44:01 -07:00
2022-07-11 14:16:13 -07:00
2023-03-02 13:52:27 -08:00
2017-07-07 11:28:01 -07:00
2022-07-11 14:16:13 -07:00
2023-01-25 11:30:24 -08:00
2022-07-11 14:16:13 -07:00
2023-01-10 13:39:22 -08:00
2023-03-14 14:44:01 -07:00
2022-10-20 11:57:15 -07:00
2022-07-20 17:14:06 -07:00
2023-03-24 10:18:35 -07:00
2023-03-10 11:59:53 -08:00
2022-07-11 14:16:13 -07:00
2023-04-18 18:10:40 -07:00
2023-03-14 15:25:50 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2023-03-10 11:59:53 -08:00
2022-10-13 10:03:29 -07:00
2023-03-10 11:59:53 -08:00
2023-04-13 09:12:03 -07:00
2022-06-29 14:08:59 -07:00
2022-08-22 17:42:01 -07:00
2023-02-28 14:03:52 -08:00
2022-10-13 10:03:29 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2023-01-20 11:10:15 -08:00
2022-10-13 10:03:29 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2023-03-22 08:39:48 -07:00
2022-07-11 14:16:13 -07:00
2020-11-02 22:01:10 +00:00
2017-10-11 16:54:48 -04:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-10-13 10:03:29 -07:00
2022-07-14 10:38:16 -07:00
2022-04-20 13:28:24 -07:00
2021-06-10 10:42:31 -06:00
2022-07-11 14:16:13 -07:00
2023-03-14 15:25:55 -07:00
2019-06-19 09:48:12 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2023-03-02 13:52:21 -08:00
2016-10-03 14:51:15 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2023-03-28 16:51:58 -07:00
2022-07-11 14:16:13 -07:00
2023-04-19 13:22:59 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-09-27 16:42:41 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2023-04-20 10:07:56 -07:00
2018-04-14 12:16:17 -07:00
2018-04-14 12:16:17 -07:00
2022-07-11 14:16:13 -07:00
2022-09-06 09:43:21 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-09-27 16:42:41 -07:00
2023-03-28 08:43:41 -07:00
2023-03-24 10:27:07 -07:00
2022-07-11 14:16:13 -07:00
2022-10-20 11:57:15 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2018-02-08 15:28:18 -08:00
2022-07-11 14:16:13 -07:00
2018-02-08 15:28:18 -08:00
2020-02-14 13:41:42 -08:00
2022-10-13 10:03:29 -07:00
2022-07-11 14:16:13 -07:00
2023-04-10 14:15:36 -07:00
2020-09-15 15:42:27 -07:00
2022-07-11 14:16:13 -07:00
2022-10-29 13:05:11 -07:00
2023-03-10 11:59:53 -08:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2023-03-02 13:52:21 -08:00
2022-10-13 10:03:29 -07:00
2022-09-27 16:55:32 -07:00
2022-11-03 09:52:12 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2018-03-04 17:34:51 -08:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2023-03-10 11:59:53 -08:00
2023-03-10 11:59:53 -08:00
2023-03-01 13:23:09 -08:00
2023-03-10 11:59:53 -08:00
2023-03-02 13:52:21 -08:00
2023-02-27 14:41:02 -08:00
2022-06-29 14:08:54 -07:00
2023-03-10 11:59:53 -08:00
2020-07-03 11:05:50 -07:00
2023-03-28 16:51:58 -07:00
2023-01-05 09:31:55 -08:00
2022-01-21 10:28:13 -08:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00