diff options
author | Volker Lendecke <vl@samba.org> | 2017-12-04 15:39:10 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2017-12-12 20:37:08 +0100 |
commit | 35eb4962a01c02919226714f7cdd959c923f4045 (patch) | |
tree | c6ac514aed8184036f2712fe6944692e488c4229 /lib/param | |
parent | 18c2c5918e70a5a1eeaf72aa6e6b4cc47334d093 (diff) | |
download | samba-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 'lib/param')
-rw-r--r-- | lib/param/loadparm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c index 73b7901d7f6..508fa5a692d 100644 --- a/lib/param/loadparm.c +++ b/lib/param/loadparm.c @@ -2590,6 +2590,8 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx) lp_ctx->sDefault->force_create_mode = 0000; lp_ctx->sDefault->directory_mask = 0755; lp_ctx->sDefault->force_directory_mode = 0000; + lp_ctx->sDefault->aio_read_size = 1; + lp_ctx->sDefault->aio_write_size = 1; DEBUG(3, ("Initialising global parameters\n")); |