Add queue stall tracking

This commit is contained in:
Vitaliy Filippov
2020-01-10 01:23:46 +03:00
parent 522a9db0e2
commit b3f2102f33
9 changed files with 30 additions and 0 deletions
+2
View File
@@ -22,6 +22,7 @@ journal_flusher_co::journal_flusher_co()
wait_state = 0;
simple_callback_r = [this](ring_data_t* data)
{
bs->live = true;
if (data->res != data->iov.iov_len)
{
throw std::runtime_error(
@@ -33,6 +34,7 @@ journal_flusher_co::journal_flusher_co()
};
simple_callback_w = [this](ring_data_t* data)
{
bs->live = true;
if (data->res != data->iov.iov_len)
{
throw std::runtime_error(