diff options
author | Allan Jude <[email protected]> | 2024-07-26 12:16:18 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2024-07-26 09:16:18 -0700 |
commit | 62e7d3c89ebdb5faddfff5e2e8adc92e569ddf09 (patch) | |
tree | d24640aebaad1a81185b9f9b721eeadcca9c1d4a /tests/runfiles | |
parent | 2ed1aebaf605ef28a0b899ec019529e0ad381d39 (diff) |
ddt: add support for prefetching tables into the ARC
This change adds a new `zpool prefetch -t ddt $pool` command which
causes a pool's DDT to be loaded into the ARC. The primary goal is to
remove the need to "warm" a pool's cache before deduplication stops
slowing write performance. It may also provide a way to reload portions
of a DDT if they have been flushed due to inactivity.
Sponsored-by: iXsystems, Inc.
Sponsored-by: Catalogics, Inc.
Sponsored-by: Klara, Inc.
Reviewed-by: Alexander Motin <[email protected]>
Reviewed-by: Tony Hutter <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Allan Jude <[email protected]>
Signed-off-by: Will Andrews <[email protected]>
Signed-off-by: Fred Weigel <[email protected]>
Signed-off-by: Rob Norris <[email protected]>
Signed-off-by: Don Brady <[email protected]>
Co-authored-by: Will Andrews <[email protected]>
Co-authored-by: Don Brady <[email protected]>
Closes #15890
Diffstat (limited to 'tests/runfiles')
-rw-r--r-- | tests/runfiles/common.run | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/runfiles/common.run b/tests/runfiles/common.run index d48b243ee..51a38d70b 100644 --- a/tests/runfiles/common.run +++ b/tests/runfiles/common.run @@ -208,6 +208,10 @@ tests = ['zfs_create_001_pos', 'zfs_create_002_pos', 'zfs_create_003_pos', 'zfs_create_verbose'] tags = ['functional', 'cli_root', 'zfs_create'] +[tests/functional/cli_root/zpool_prefetch] +tests = ['zpool_prefetch_001_pos'] +tags = ['functional', 'cli_root', 'zpool_prefetch'] + [tests/functional/cli_root/zfs_destroy] tests = ['zfs_clone_livelist_condense_and_disable', 'zfs_clone_livelist_condense_races', 'zfs_clone_livelist_dedup', |