]> git.hungrycats.org Git - bees/commitdiff
extent scan: drop out-of-date comment
authorZygo Blaxell <bees@furryterror.org>
Fri, 14 Feb 2025 22:17:40 +0000 (17:17 -0500)
committerZygo Blaxell <bees@furryterror.org>
Thu, 19 Jun 2025 01:17:48 +0000 (21:17 -0400)
The comment describes an earlier version which submitted each extent
ref as a separate Task, but now all extent refs are handled by the same
Task to minimize the amount of time between processing the first and
last reference to an extent.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
src/bees-roots.cc

index 930ac0233c47f1acb2b3d4c1ca63a427d9c65825..a593600871d384606a4cf6f7466854a83ff0cdb4 100644 (file)
@@ -780,10 +780,6 @@ BeesScanModeExtent::SizeTier::create_extent_map(const uint64_t bytenr, const Pro
 
        BtrfsExtentDataFetcher bedf(m_ctx->root_fd());
 
-       // Collect extent ref tasks as a series of stand-alone events
-       // chained after the first task created, then run the first one.
-       // This prevents other threads from starting to process an
-       // extent until we have all of its refs in the queue.
        const auto refs_list = make_shared<list<ExtentRef>>();
        for (const auto &i : log_ino.m_iors) {
                catch_all([&](){