mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
features.kernel layout should match features.pool
The features.kernel layout should match features.pool. Reviewed-by: Sara Hartse <sara.hartse@delphix.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Don Brady <don.brady@delphix.com> Closes #8566
This commit is contained in:
committed by
Brian Behlendorf
parent
a887d653b3
commit
b4ddec7af6
@@ -21,7 +21,7 @@
|
||||
#
|
||||
|
||||
#
|
||||
# Copyright (c) 2018 by Delphix. All rights reserved.
|
||||
# Copyright (c) 2018, 2019 by Delphix. All rights reserved.
|
||||
#
|
||||
|
||||
. $STF_SUITE/include/libtest.shlib
|
||||
@@ -39,13 +39,15 @@ fi
|
||||
|
||||
claim="Expected '/sys/module/zfs/<dir>/<attr>' attributes are present"
|
||||
|
||||
feature_attr="/sys/module/zfs/features.pool/org.open-zfs:large_blocks/guid"
|
||||
kernel_feature_attr="/sys/module/zfs/features.kernel/org.zfsonlinux:vdev_trim/supported"
|
||||
pool_feature_attr="/sys/module/zfs/features.pool/org.open-zfs:large_blocks/guid"
|
||||
pool_prop__attr="/sys/module/zfs/properties.pool/comment/values"
|
||||
ds_prop__attr="/sys/module/zfs/properties.dataset/recordsize/values"
|
||||
|
||||
log_assert $claim
|
||||
|
||||
log_must cat $feature_attr
|
||||
log_must cat $kernel_feature_attr
|
||||
log_must cat $pool_feature_attr
|
||||
log_must cat $pool_prop__attr
|
||||
log_must cat $ds_prop__attr
|
||||
|
||||
|
||||
Reference in New Issue
Block a user