roots: trace transid_max calculation

transid_max calculations can take considerable time.  Report their
progress in more detail.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
Dieser Commit ist enthalten in:
Zygo Blaxell
2017-09-16 17:30:45 -04:00
Ursprung a07728bc7e
Commit 5275249396
+1 -1
Datei anzeigen
@@ -174,9 +174,9 @@ BeesRoots::transid_min()
uint64_t uint64_t
BeesRoots::transid_max() BeesRoots::transid_max()
{ {
BEESNOTE("Calculating transid_max");
uint64_t rv = 0; uint64_t rv = 0;
uint64_t root = 0; uint64_t root = 0;
BEESNOTE("Calculating transid_max (" << rv << " as of root " << root << ")");
BEESTRACE("Calculating transid_max..."); BEESTRACE("Calculating transid_max...");
do { do {
root = next_root(root); root = next_root(root);