]> git.hungrycats.org Git - bees/commitdiff
demote duplicate-scan and temp-file-ref log events to debug level
authorZygo Blaxell <bees@furryterror.org>
Wed, 2 Sep 2026 03:27:53 +0000 (23:27 -0400)
committerZygo Blaxell <bees@furryterror.org>
Sat, 5 Sep 2026 04:04:15 +0000 (00:04 -0400)
The crawl_extent_dup duplicate-queue drop and the block_map_fetch
temp-file ref skip are diagnostic events: bees handles both cases
itself and operators do not need to take action, as they might with
a warning.  Log them at debug level instead of warn.

Assisted-by: Claude-Code:claude-fable-5
src/bees-extent-layer.cc
src/bees-roots.cc

index c9be1bbe6b0ea3747c43774bd19babbd288c8623..20218e8c7e035df4c5951c40609a50640f95b7d2 100644 (file)
@@ -662,7 +662,7 @@ BeesBtrfsExtentLayer::block_map_fetch(BeesBtrfsExtentNode &node,
                        // Skipping is the safe action -- the data is not ours to
                        // hash -- but it is not a normal outcome.
                        BEESCOUNT(block_map_ref_tempfile);
-                       BEESLOGWARN("block_map_fetch: ref into temp file root "
+                       BEESLOGDEBUG("block_map_fetch: ref into temp file root "
                                << ref.root() << " inum " << ref.inum()
                                << " offset " << to_hex(ref.offset())
                                << " on extent " << to_hex(node.m_bytenr)
index 91c08a0ee286496693e4549a1c59b0c92dde80ac..c3012b6dbf449c5aa1d22bc6cd89f0ca1be40a77 100644 (file)
@@ -1457,7 +1457,7 @@ BeesScanModeExtent::SizeTier::find_next_extent()
                                // extent lives at this address, not one extent queued
                                // twice from one view.
                                BEESCOUNT(crawl_extent_dup);
-                               BEESLOGWARN("crawl_extent_dup: extent already queued for scanning\n"
+                               BEESLOGDEBUG("crawl_extent_dup: extent already queued for scanning\n"
                                        << "\tin flight: " << held_inflight << "\n"
                                        << "\tdropped:   " << this_inflight);
                                continue;