summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2017-12-04 15:39:10 +0100
committerJeremy Allison <jra@samba.org>2017-12-12 20:37:08 +0100
commit35eb4962a01c02919226714f7cdd959c923f4045 (patch)
treec6ac514aed8184036f2712fe6944692e488c4229 /source3/param
parent18c2c5918e70a5a1eeaf72aa6e6b4cc47334d093 (diff)
downloadsamba-35eb4962a01c02919226714f7cdd959c923f4045.tar.gz
smbd: Enable async I/O by default
We've had this code in for long enough that we should enable it by default. Modern clients do overlapping I/O, we should utilize that if possible. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 01c022e2889..a34b3dbd1ad 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -238,8 +238,8 @@ static const struct loadparm_service _sDefault =
.acl_group_control = false,
.acl_allow_execute_always = false,
.allocation_roundup_size = SMB_ROUNDUP_ALLOCATION_SIZE,
- .aio_read_size = 0,
- .aio_write_size = 0,
+ .aio_read_size = 1,
+ .aio_write_size = 1,
.map_readonly = MAP_READONLY_YES,
.directory_name_cache_size = 100,
.smb_encrypt = SMB_SIGNING_DEFAULT,