Print op pointer values in slow log

epoch-deletions
Vitaliy Filippov 2023-04-23 17:34:34 +03:00
parent 2f16c32eb4
commit 160863f707
1 changed files with 1 additions and 1 deletions

View File

@ -460,7 +460,7 @@ void osd_t::print_slow()
int l = sizeof(alloc), n;
char *buf = alloc;
#define bufprintf(s, ...) { n = snprintf(buf, l, s, __VA_ARGS__); n = n < 0 ? 0 : n; buf += n; l -= n; }
bufprintf("[OSD %lu] Slow op", osd_num);
bufprintf("[OSD %lu] Slow op %lx", osd_num, op);
if (kv.second->osd_num)
{
bufprintf(" from peer OSD %lu (client %d)", kv.second->osd_num, kv.second->peer_fd);