Support --logfile in nfs-proxy

This commit is contained in:
Vitaliy Filippov
2024-03-16 13:24:36 +03:00
parent d03f19ebe5
commit 7142460ec8
4 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ void epoll_manager_t::handle_uring_event()
my_uring_prep_poll_add(sqe, epoll_fd, POLLIN);
data->callback = [this](ring_data_t *data)
{
if (data->res < 0)
if (data->res < 0 && data->res != -ECANCELED)
{
throw std::runtime_error(std::string("epoll failed: ") + strerror(-data->res));
}