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

roots: report the search parameters on tree search ioctl error

There are lots of ways the search can fail, but it's hard to pick one
without knowing the parameters.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
Zygo Blaxell 2020-11-12 12:00:19 -05:00
parent e654e29f45
commit d332616eff

View File

@ -1024,7 +1024,7 @@ BeesCrawl::fetch_extents()
if (ioctl_ok) {
BEESCOUNT(crawl_search);
} else {
BEESLOGWARN("Search ioctl failed: " << strerror(errno));
BEESLOGWARN("Search ioctl(" << sk << ") failed: " << strerror(errno));
BEESCOUNT(crawl_fail);
}