Independent subvol scanners fairly consistently outperform either
of the correlated scan modes.
Signed-off-by: Zygo Blaxell <bees@furryterror.org>
unsigned thread_min = 0;
double load_target = 0;
bool workaround_btrfs_send = false;
- BeesRoots::ScanMode root_scan_mode = BeesRoots::SCAN_MODE_LOCKSTEP;
+ BeesRoots::ScanMode root_scan_mode = BeesRoots::SCAN_MODE_INDEPENDENT;
// Configure getopt_long
static const struct option long_options[] = {
void set_workaround_btrfs_send(bool do_avoid);
private:
- ScanMode m_scan_mode = SCAN_MODE_LOCKSTEP;
+ ScanMode m_scan_mode = SCAN_MODE_INDEPENDENT;
static string scan_mode_ntoa(ScanMode new_mode);
};