]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
fs-compress, fs-crypt, fs-metawrap: Add ASYNC_NOQUEUE in fs_file_init_parent
authorMarkus Valentin <markus.valentin@open-xchange.com>
Tue, 11 Feb 2020 09:16:54 +0000 (10:16 +0100)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Mon, 17 Feb 2020 10:33:03 +0000 (10:33 +0000)
commit18828ad18576c721ce665491578760b4eee27cec
tree02fd0ebb86b68bab82911c629453434c3ee48d17
parenta4671d9c5744d728e030370a39df914cebefbefe
fs-compress, fs-crypt, fs-metawrap: Add ASYNC_NOQUEUE in fs_file_init_parent

In order to prevent hangs or waiting on empty ioloops when the number of
mails to prefetch exceeds the lib-http request-queue length, add the
FS_OPEN_FLAG_ASYNC_NOQUEUE flag when calling fs_file_init_parent.

This additional flag makes sure that the file-operations will be handled
immediately without additional command queueing.
src/lib-fs/fs-metawrap.c
src/plugins/fs-compress/fs-compress.c
src/plugins/mail-crypt/fs-crypt-common.c