aboutsummaryrefslogtreecommitdiffstats
path: root/copy-builtin
diff options
context:
space:
mode:
authorRob Norris <[email protected]>2023-10-06 17:06:34 +1100
committerBrian Behlendorf <[email protected]>2024-08-16 12:03:27 -0700
commitcbb9ef0a4c8e04358f7d5ddae0eb99d0f703ee21 (patch)
treef66555d37b6314036dbd9cf81cf4d9355fd8db8d /copy-builtin
parent592f38900dc21ff86ca9c821c72b55e4ace347af (diff)
ddt: tuneable to override copies= on dedup metadata objects
All objects stored in the MOS get copies=3. For a large dedup table, this requires significant extra IO and disk space, when its not really necessary - the dedup table itself isn't needed to read or write data, only to keep data usage down. Losing the dedup table does not render the pool unusable, it just messes up the accounting somewhat. This adds a dmu_ddt_copies tuneable. When set to 0, the existing behaviour is used. When set higher, dedup table blocks (ZAP and log) will have this many copies rather than the usual 3, while indirect blocks will have one more again. This is a tuneable for now mostly for testing. Losing a dedup table can cause blocks to be leaked, and we currently have no facilities to repair that. Reviewed-by: Alexander Motin <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Co-authored-by: Allan Jude <[email protected]> Signed-off-by: Rob Norris <[email protected]> Sponsored-by: Klara, Inc. Sponsored-by: iXsystems, Inc. Closes #15895
Diffstat (limited to 'copy-builtin')
0 files changed, 0 insertions, 0 deletions