]> git.hungrycats.org Git - bees/commitdiff
main: set default scan mode to mode 4 (EXTENT)
authorZygo Blaxell <bees@furryterror.org>
Mon, 16 Jan 2023 04:11:09 +0000 (23:11 -0500)
committerZygo Blaxell <bees@furryterror.org>
Sun, 1 Dec 2024 05:17:51 +0000 (00:17 -0500)
Signed-off-by: Zygo Blaxell <bees@furryterror.org>
src/bees-usage.txt
src/bees.cc

index 21c83b45ed77cb63fa18069f12f67cc88760974b..1fd47e1f09b3c010715d704c8179cbb72492d196 100644 (file)
@@ -14,7 +14,7 @@ Load management options:
     -g, --loadavg-target  Target load average for worker threads (default none)
 
 Filesystem tree traversal options:
-    -m, --scan-mode       Scanning mode (0..3, default 3)
+    -m, --scan-mode       Scanning mode (0..4, default 4)
 
 Workarounds:
     -a, --workaround-btrfs-send    Workaround for btrfs send
index a6bc90f3bf975939ba6e1b5d364823be29fd49de..33e945a007e33c5b8cb560713d571e0629bd1a97 100644 (file)
@@ -649,7 +649,7 @@ bees_main(int argc, char *argv[])
        unsigned thread_min = 0;
        double load_target = 0;
        bool workaround_btrfs_send = false;
-       BeesRoots::ScanMode root_scan_mode = BeesRoots::SCAN_MODE_INDEPENDENT;
+       BeesRoots::ScanMode root_scan_mode = BeesRoots::SCAN_MODE_EXTENT;
 
        // Configure getopt_long
        static const struct option long_options[] = {