From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id ADE1E8BEB1 for ; Fri, 28 Oct 2022 10:18:20 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 8F3BA1837E for ; Fri, 28 Oct 2022 10:18:20 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Fri, 28 Oct 2022 10:18:19 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 7F9AE44C66 for ; Fri, 28 Oct 2022 10:18:19 +0200 (CEST) Message-ID: Date: Fri, 28 Oct 2022 10:18:17 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:107.0) Gecko/20100101 Thunderbird/107.0 Content-Language: en-GB To: Proxmox VE development discussion , Fiona Ebner References: <20221027071345.12661-1-f.ebner@proxmox.com> From: Thomas Lamprecht In-Reply-To: <20221027071345.12661-1-f.ebner@proxmox.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SPAM-LEVEL: Spam detection results: 0 AWL -0.034 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] applied: [PATCH v2 qemu-server] fix #4099: disable io_uring for virtual disks on CIFS storages X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Oct 2022 08:18:20 -0000 On 27/10/2022 09:13, Fiona Ebner wrote: > Since kernel 5.15, there is an issue with io_uring when used in > combination with CIFS [0]. Unfortunately, the kernel developers did > not suggest any way to resolve the issue and didn't comment on my > proposed one. So for now, just disable io_uring when the storage is > CIFS, like is done for other storage types that had problematic > interactions. > > It is rather easy to reproduce when writing large amounts of data > within the VM. I used > dd if=/dev/urandom of=file bs=1M count=1000 > to reproduce it consistently, but your mileage may vary. > > Some forum reports about users running into the issue [1][2][3]. > > [0]: https://www.spinics.net/lists/linux-cifs/msg26734.html > [1]: https://forum.proxmox.com/threads/109848/ > [2]: https://forum.proxmox.com/threads/110464/ > [3]: https://forum.proxmox.com/threads/111382/ > > Signed-off-by: Fiona Ebner > --- > > Changes from v1: > * Add 'fix #4099'-prefix to commit title. > > PVE/QemuServer.pm | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > really unfortunate indeed though, a kernel fix would be nicer, but there's only so much time we can spent waiting on progress there, so ... applied, thanks!