mirror of
https://github.com/Zygo/bees.git
synced 2025-07-02 08:42:27 +02:00
extent scan: introduce SCAN_MODE_EXTENT
The EXTENT scan mode reads the extent tree, splits it into tiers by extent size, converts each tiers's extents into subvol/inode/offset refs, then runs the legacy bees dedupe engine on the refs. The extent scan mode can cheaply compute completion percentage and ETA, so do that every time a new transid is observed. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
@ -182,7 +182,7 @@ BeesContext::home_fd()
|
||||
}
|
||||
|
||||
bool
|
||||
BeesContext::is_root_ro(uint64_t root)
|
||||
BeesContext::is_root_ro(uint64_t const root)
|
||||
{
|
||||
return roots()->is_root_ro(root);
|
||||
}
|
||||
|
Reference in New Issue
Block a user