mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-01-07 16:50:26 +03:00
5405be0365
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 |
||
---|---|---|
.. | ||
cleanup.ksh | ||
config001.cfg | ||
config002.cfg | ||
config003.cfg | ||
config004.cfg | ||
config005.cfg | ||
config006.cfg | ||
config007.cfg | ||
config008.cfg | ||
config009.cfg | ||
config010.cfg | ||
config011.cfg | ||
config012.cfg | ||
config013.cfg | ||
config014.cfg | ||
config015.cfg | ||
config016.cfg | ||
config017.cfg | ||
config018.cfg | ||
config019.cfg | ||
config020.cfg | ||
config021.cfg | ||
config022.cfg | ||
config023.cfg | ||
config024.cfg | ||
inherit_001_pos.ksh | ||
inherit.kshlib | ||
README.config | ||
README.state | ||
state001.cfg | ||
state002.cfg | ||
state003.cfg | ||
state004.cfg | ||
state005.cfg | ||
state006.cfg | ||
state007.cfg | ||
state008.cfg | ||
state009.cfg | ||
state010.cfg | ||
state011.cfg | ||
state012.cfg | ||
state013.cfg | ||
state014.cfg | ||
state015.cfg | ||
state016.cfg | ||
state017.cfg | ||
state018.cfg | ||
state019.cfg | ||
state020.cfg | ||
state021.cfg | ||
state022.cfg | ||
state023.cfg | ||
state024.cfg |
# # CDDL HEADER START # # The contents of this file are subject to the terms of the # Common Development and Distribution License (the "License"). # You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or https://opensource.org/licenses/CDDL-1.0. # See the License for the specific language governing permissions # and limitations under the License. # # When distributing Covered Code, include this CDDL HEADER in each # file and include the License file at usr/src/OPENSOLARIS.LICENSE. # If applicable, add the following below this CDDL HEADER, with the # fields enclosed by brackets "[]" replaced with your own identifying # information: Portions Copyright [yyyy] [name of copyright owner] # # CDDL HEADER END # # # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # # For every configX.cfg file there must be a corresponding stateX.cfg # file. The state file both drives the operations to be performed on the # dataset hierarchy which has been specified by the corresponding # configX.cfg file, and also specifies the expected state of the # properties after the operation has been completed. # # The format of the file is: # <target dataset>:<command> # <property source before command> <property src after command> # <property source before command> <property src after command> # .... .... # .... .... # # <target dataset> - dataset upon which the <command> is to be executed. Can # be any of the datasets specified in the corresponding # configX.cfg file. If no command is to be executed # then must be set to '-' # # # <command> - command to be executed upon the specified dataset. # Currently the only supported commands are 'inherit' # or 'inherit -r'. If no command is to be executed, # then must be set to '-'. # # <property src before command> # - the 'source' (as reported in 'zfs get') for the # the properties before <command> is executed. This # can be 'default', 'local' or the name of a dataset # from which the property is inherited. (The code # automatically adds in the 'inherited from..' part # of the string when doing the check. # # This field is for informational purposes only, to # aid the user in seeing how the changes trickle down # the data hierarchy. # # <property src after command> # - the expected value of the 'source' field after the # <command> has been executed on the <target dataset>. # As above can be 'default', 'local', or the dataset # from which the property is inherited. # # Two important things to note: # 1) there must be a <property src..> line corresponding to each dataset # line specified in the configX.cfg file. # # # 2) There can be as many <command>/<property src> blocks as desired, but # there must be at least one, and the effect of each block is cumulative # (i.e. the properties are not reset back to their default values between # each block. If that is desired then each block must be placed in its # own state file with its own corresponding configX.cfg file). # # # Below are two sample <command>/<property src> blocks. # # The first simply verifies that the properties on the top level dataset # were set locally, and that the middle and bottom datasets properties # were inherited from the top level pool (called TESTPOOL). Note the '-:-' # which means that no command is to be executed, but simply that the # properties settings are to be verified. # # # Copyright (c) 2013 by Delphix. All rights reserved. # -:- # local local TESTPOOL TESTPOOL TESTPOOL TESTPOOL # # # The block below describes the expected state of the properties after # an 'inherit -r' command has been run on the top level pool (called # TESTPOOL). # TESTPOOL:inherit -r # local default TESTPOOL default TESTPOOL default