1
0
mirror of https://github.com/Zygo/bees.git synced 2025-05-17 21:35:45 +02:00

roots: drop method transid_re

There are no callers of this method any more, and it exposes more
of BeesRoots than we really want things to have access to.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
Zygo Blaxell 2024-12-13 23:05:47 -05:00
parent 94d9945d04
commit bb09b1ab0e
2 changed files with 0 additions and 8 deletions

View File

@ -2030,12 +2030,6 @@ BeesRoots::open_root_ino(uint64_t root, uint64_t ino)
return m_ctx->fd_cache()->open_root_ino(root, ino);
}
RateEstimator &
BeesRoots::transid_re()
{
return m_transid_re;
}
void
BeesRoots::insert_tmpfile(Fd fd)
{

View File

@ -550,7 +550,6 @@ class BeesRoots : public enable_shared_from_this<BeesRoots> {
Timer m_crawl_timer;
BeesThread m_crawl_thread;
BeesThread m_writeback_thread;
RateEstimator m_transid_re;
bool m_workaround_btrfs_send = false;
shared_ptr<BeesScanMode> m_scanner;
@ -576,7 +575,6 @@ class BeesRoots : public enable_shared_from_this<BeesRoots> {
void writeback_thread();
uint64_t next_root(uint64_t root = 0);
void current_state_set(const BeesCrawlState &bcs);
RateEstimator& transid_re();
bool crawl_batch(shared_ptr<BeesCrawl> crawl);
void clear_caches();