mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
Add BRT support to zpool prefetch command
Implement BRT (Block Reference Table) prefetch functionality similar to existing DDT prefetch. This allows preloading BRT metadata into ARC to improve performance for block cloning operations and frees of earlier cloned blocks. Make -t parameter optional. When omitted, prefetch all supported metadata types (both DDT and BRT now). Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Alexander Motin <alexander.motin@TrueNAS.com> Closes #17890
This commit is contained in:
@@ -56,6 +56,7 @@ extern void brt_create(spa_t *spa);
|
||||
extern int brt_load(spa_t *spa);
|
||||
extern void brt_unload(spa_t *spa);
|
||||
extern void brt_sync(spa_t *spa, uint64_t txg);
|
||||
extern void brt_prefetch_all(spa_t *spa);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user