mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
Add zfs module feature and property info to sysfs
This extends our sysfs '/sys/module/zfs' entry to include feature and property attributes. The primary consumer of this information is user processes, like the zfs CLI, that need to know what the current loaded ZFS module supports. The libzfs binary will consult this information when instantiating the zfs and zpool property tables and the pool features table. This introduces 4 kernel objects (dirs) into '/sys/module/zfs' with corresponding attributes (files): features.runtime features.pool properties.dataset properties.pool Reviewed-by: Matthew Ahrens <mahrens@delphix.com> Reviewed-by: Tony Hutter <hutter2@llnl.gov> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Don Brady <don.brady@delphix.com> Closes #7706
This commit is contained in:
committed by
Brian Behlendorf
parent
bb91178e60
commit
e8bcb693d6
@@ -255,6 +255,12 @@ tests = ['zfs_snapshot_001_neg', 'zfs_snapshot_002_neg',
|
||||
'zfs_snapshot_009_pos']
|
||||
tags = ['functional', 'cli_root', 'zfs_snapshot']
|
||||
|
||||
[tests/functional/cli_root/zfs_sysfs]
|
||||
tests = ['zfeature_set_unsupported.ksh', 'zfs_get_unsupported',
|
||||
'zfs_set_unsupported', 'zfs_sysfs_live.ksh', 'zpool_get_unsupported',
|
||||
'zpool_set_unsupported']
|
||||
tags = ['functional', 'cli_root', 'zfs_sysfs']
|
||||
|
||||
[tests/functional/cli_root/zfs_unload-key]
|
||||
tests = ['zfs_unload-key', 'zfs_unload-key_all', 'zfs_unload-key_recursive']
|
||||
tags = ['functional', 'cli_root', 'zfs_unload-key']
|
||||
|
||||
Reference in New Issue
Block a user