]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.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)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 1 Nov 2022 19:25:58 +0000 (12:25 -0700)
commit7ac732b8d6f74302820785220f95779d79294c06
tree8559bd67a9c493e6a9e6a3f2bdf740abfaed66f8
parent04f1983aab16d378be376768275856bc38be48bd
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