mirror of
https://github.com/Zygo/bees.git
synced 2025-05-18 05:45:45 +02:00
roots: use scan mode 'independent' by default
Independent subvol scanners fairly consistently outperform either of the correlated scan modes. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
parent
7cef1133be
commit
e13c62084b
@ -601,7 +601,7 @@ bees_main(int argc, char *argv[])
|
|||||||
unsigned thread_min = 0;
|
unsigned thread_min = 0;
|
||||||
double load_target = 0;
|
double load_target = 0;
|
||||||
bool workaround_btrfs_send = false;
|
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
|
// Configure getopt_long
|
||||||
static const struct option long_options[] = {
|
static const struct option long_options[] = {
|
||||||
|
@ -606,7 +606,7 @@ public:
|
|||||||
void set_workaround_btrfs_send(bool do_avoid);
|
void set_workaround_btrfs_send(bool do_avoid);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
ScanMode m_scan_mode = SCAN_MODE_LOCKSTEP;
|
ScanMode m_scan_mode = SCAN_MODE_INDEPENDENT;
|
||||||
static string scan_mode_ntoa(ScanMode new_mode);
|
static string scan_mode_ntoa(ScanMode new_mode);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user