mirror of
https://github.com/Zygo/bees.git
synced 2025-07-02 08:42:27 +02:00
counters: fix counter names for scan_eof, scan_no_fd, scanf_deferred_inode
This code gets moved around from time to time and ends up with the wrong prefix. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
@ -694,14 +694,14 @@ BeesContext::scan_forward(const BeesFileRange &bfr_in)
|
||||
// No FD? Well, that was quick.
|
||||
if (!bfr.fd()) {
|
||||
// BEESLOGINFO("No FD in " << root_path() << " for " << bfr);
|
||||
BEESCOUNT(scan_no_fd);
|
||||
BEESCOUNT(scanf_no_fd);
|
||||
return false;
|
||||
}
|
||||
|
||||
// Sanity check
|
||||
if (bfr.begin() >= bfr.file_size()) {
|
||||
BEESLOGWARN("past EOF: " << bfr);
|
||||
BEESCOUNT(scan_eof);
|
||||
BEESCOUNT(scanf_eof);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user