mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
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
This commit is contained in:
committed by
Brian Behlendorf
parent
04f1983aab
commit
7ac732b8d6
@@ -29,6 +29,7 @@
|
||||
* Copyright (c) 2019 Datto Inc.
|
||||
* Portions Copyright 2010 Robert Milkowski
|
||||
* Copyright (c) 2021, Colm Buckley <colm@tuatha.org>
|
||||
* Copyright (c) 2022 Hewlett Packard Enterprise Development LP.
|
||||
*/
|
||||
|
||||
#ifndef _SYS_FS_ZFS_H
|
||||
@@ -423,7 +424,9 @@ typedef enum {
|
||||
|
||||
typedef enum {
|
||||
ZFS_REDUNDANT_METADATA_ALL,
|
||||
ZFS_REDUNDANT_METADATA_MOST
|
||||
ZFS_REDUNDANT_METADATA_MOST,
|
||||
ZFS_REDUNDANT_METADATA_SOME,
|
||||
ZFS_REDUNDANT_METADATA_NONE
|
||||
} zfs_redundant_metadata_type_t;
|
||||
|
||||
typedef enum {
|
||||
|
||||
Reference in New Issue
Block a user