]> git.proxmox.com Git - mirror_zfs.git/commit
Add options to zfs redundant_metadata property
authorAkash B <akash-b@hpe.com>
Thu, 20 Oct 2022 00:07:51 +0000 (05:37 +0530)
committerGitHub <noreply@github.com>
Thu, 20 Oct 2022 00:07:51 +0000 (17:07 -0700)
commit5405be036516280c00d481bc44394d8ef7ab15c6
treeb6ffdafa019fa791ffac0fbf10408d516498a94e
parent2be0a124afea461f5fb01f56c00d68b70d09b196
Add options to zfs redundant_metadata property

Currently, additional/extra copies are created for metadata in
addition to the redundancy provided by the pool(mirror/raidz/draid),
due to this 2 times more space is utilized per inode and this decreases
the total number of inodes that can be created in the filesystem. By
setting redundant_metadata to none, no additional copies of metadata
are created, hence can reduce the space consumed by the additional
metadata copies and increase the total number of inodes that can be
created in the filesystem.  Additionally, this can improve file create
performance due to the reduced amount of metadata which needs
to be written.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Dipak Ghosh <dipak.ghosh@hpe.com>
Signed-off-by: Akash B <akash-b@hpe.com>
Closes #13680
include/sys/dmu.h
include/sys/fs/zfs.h
man/man7/zfsprops.7
module/zcommon/zfs_prop.c
module/zfs/dmu.c
module/zfs/dmu_objset.c
module/zfs/dsl_prop.c
tests/zfs-tests/include/properties.shlib
tests/zfs-tests/tests/functional/inheritance/inherit_001_pos.ksh