#include "system/select.h"
#include "librpc/gen_ndr/smbXsrv.h"
#include "smbprofile.h"
+#include "lib/util/samba_io_uring.h"
#ifdef USE_DMAPI
struct smbd_dmapi_context;
struct notify_mid_map *notify_mid_maps;
+ struct samba_io_uring *uring;
struct pthreadpool_tevent *pool;
struct smbXsrv_client *client;
exit_server("pthreadpool_tevent_init() failed.");
}
+ if (lp_parm_bool(-1, "smb2srv", "sconn_uring", false)) {
+ sconn->uring = samba_io_uring_ev_context_get_ring(sconn->ev_ctx);
+ if (sconn->uring == NULL) {
+ exit_server("samba_io_uring_ev_context_get_ring() failed.");
+ }
+ }
+
#if defined(WITH_SMB1SERVER)
if (lp_server_max_protocol() >= PROTOCOL_SMB2_02) {
#endif