summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_glusterfs.c
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2018-12-27 15:26:08 +0100
committerStefan Metzmacher <metze@samba.org>2019-01-11 23:11:18 +0100
commit6ec96ac70989fcd65abbde04b233d2282f6bf398 (patch)
treea6b0250ca577a31e60f6c64e4aa48c95bf06eb33 /source3/modules/vfs_glusterfs.c
parent46d3a1541a62bf0b2ae4d4ebc5f615b679dd7335 (diff)
downloadsamba-6ec96ac70989fcd65abbde04b233d2282f6bf398.tar.gz
Revert "vfs_glusterfs: explain that/why we use the raw tevent_context in init_gluster_aio()"
This reverts commit b0af5715b0a7592a9728e0b76f653b9ab6228708. See the discussion in https://lists.samba.org/archive/samba-technical/2018-December/131731.html for the reasoning behind this revert. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/modules/vfs_glusterfs.c')
-rw-r--r--source3/modules/vfs_glusterfs.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/source3/modules/vfs_glusterfs.c b/source3/modules/vfs_glusterfs.c
index 9b623a4658b..c9d57b4b646 100644
--- a/source3/modules/vfs_glusterfs.c
+++ b/source3/modules/vfs_glusterfs.c
@@ -766,16 +766,7 @@ static bool init_gluster_aio(struct vfs_handle_struct *handle)
read_fd = fds[0];
write_fd = fds[1];
- /*
- * We use the raw tevent context here,
- * as this is a global event handler.
- *
- * The tevent_req_defer_callback()
- * calls will make sure the results
- * of async calls are propagated
- * to the correct tevent_context.
- */
- aio_read_event = tevent_add_fd(handle->conn->sconn->raw_ev_ctx,
+ aio_read_event = tevent_add_fd(handle->conn->sconn->ev_ctx,
NULL,
read_fd,
TEVENT_FD_READ,