1
0
Mirror von https://github.com/tkuschel/bees.git synchronisiert 2026-06-19 06:57:54 +02:00

fs: add some performance metrics for TREE_SEARCH_V2 calls

These give some visibility into how efficiently bees is using the
TREE_SEARCH_V2 ioctl.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
Dieser Commit ist enthalten in:
Zygo Blaxell
2021-10-24 15:17:43 -04:00
Ursprung a59a02174f
Commit 099ad2ce7c
2 geänderte Dateien mit 13 neuen und 0 gelöschten Zeilen
+4
Datei anzeigen
@@ -197,6 +197,10 @@ namespace crucible {
size_t m_buf_size;
set<BtrfsIoctlSearchHeader> m_result;
static thread_local size_t s_calls;
static thread_local size_t s_loops;
static thread_local size_t s_loops_empty;
};
ostream & operator<<(ostream &os, const btrfs_ioctl_search_key &key);