Test SQ poll threads. Unstable and in fact slower :(

This commit is contained in:
Vitaliy Filippov
2020-03-03 17:23:39 +03:00
parent c9f3654905
commit eabfe4faac
18 changed files with 215 additions and 59 deletions
+1
View File
@@ -116,6 +116,7 @@ void osd_t::handle_connect_result(int peer_fd)
int one = 1;
setsockopt(peer_fd, SOL_TCP, TCP_NODELAY, &one, sizeof(one));
// Disable EPOLLOUT on this fd
cl.peer_fd_index = ringloop->register_fd(peer_fd);
cl.connect_callback = NULL;
cl.peer_state = PEER_CONNECTED;
epoll_event ev;