From d332616eff695d397ab232caa378e826c9913ecf Mon Sep 17 00:00:00 2001 From: Zygo Blaxell Date: Thu, 12 Nov 2020 12:00:19 -0500 Subject: [PATCH] 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 --- src/bees-roots.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bees-roots.cc b/src/bees-roots.cc index a0c2fd6..87ee850 100644 --- a/src/bees-roots.cc +++ b/src/bees-roots.cc @@ -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); }