summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/aio.c3
-rw-r--r--source3/smbd/globals.c2
2 files changed, 1 insertions, 4 deletions
diff --git a/source3/smbd/aio.c b/source3/smbd/aio.c
index 7ba0bdc066..ec68b90452 100644
--- a/source3/smbd/aio.c
+++ b/source3/smbd/aio.c
@@ -91,9 +91,6 @@ bool initialize_async_io_handler(void)
DEBUG(10, ("Failed to setup RT_SIGNAL_AIO handler\n"));
return false;
}
-
- /* tevent supports 100 signal with SA_SIGINFO */
- aio_pending_size = 100;
return true;
}
diff --git a/source3/smbd/globals.c b/source3/smbd/globals.c
index 7c4ffec099..87ecff70a3 100644
--- a/source3/smbd/globals.c
+++ b/source3/smbd/globals.c
@@ -28,7 +28,7 @@
#if defined(HAVE_AIO)
struct aio_extra *aio_list_head = NULL;
struct tevent_signal *aio_signal_event = NULL;
-int aio_pending_size = 0;
+int aio_pending_size = 100; /* tevent supports 100 signals SA_SIGINFO */
int outstanding_aio_calls = 0;
#endif