Add a flag to enable or disable aio_write (#10394)
* Add a flag to enable or disable aio_write Signed-off-by: z1cheng <imchench@gmail.com> * Fix e2e test for aio_write Signed-off-by: z1cheng <imchench@gmail.com> * Remove redundant spaces to fix the 2e test Signed-off-by: z1cheng <imchench@gmail.com> --------- Signed-off-by: z1cheng <imchench@gmail.com>
This commit is contained in:
parent
ac2923bf44
commit
d96b3f0082
4 changed files with 67 additions and 0 deletions
|
|
@ -296,7 +296,10 @@ http {
|
|||
{{ end }}
|
||||
|
||||
aio threads;
|
||||
|
||||
{{ if $cfg.EnableAioWrite }}
|
||||
aio_write on;
|
||||
{{ end }}
|
||||
|
||||
tcp_nopush on;
|
||||
tcp_nodelay on;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue