From nobody Tue Jun 9 01:37:59 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=quarantine dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1780925212; cv=none; d=zohomail.com; s=zohoarc; b=Kl5OP8d2mKnfKLqYM3ycu5pWlD6WHdWzMF1GfDuJPhbtzixkWINfra2YGx57QldIB0c5sspUGL/qY+VIMexVdI3o6DbvkT4XtxKb0gkMFWfhFgscFS1p8ENbP/Cl2foL70cNtds0BIU8UwAoNlbZWlrRcRz0vonXQFqnTRMrRw0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1780925212; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=QacUtpu9mGw44ZmVTNI8OyXBWgeJQcc56jtqDPj9X3E=; b=YnDTQuoiL0BqJbKMx+QxQbpEcCSWnExzaRko8zGjlkB0DJmfSTXVJUIMrgTZQGhaJHSzIfK2THBYcsUCRREl0EGpGFdm53MkcwN9PimKxT5bo/A5Yv+vXz1XmFABG1b9EjNenUAd/pQv/yl52mVRvxmg/w/SqVkAfkCfg2hgabQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1780925212478965.3381112126842; Mon, 8 Jun 2026 06:26:52 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wWZzH-0000Ev-HV; Mon, 08 Jun 2026 09:25:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wWZzF-0000EB-Iu for qemu-devel@nongnu.org; Mon, 08 Jun 2026 09:25:54 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wWZzD-0008T8-Tj for qemu-devel@nongnu.org; Mon, 08 Jun 2026 09:25:53 -0400 Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-686-ycxv5AANNFSjZALPrM9ZoQ-1; Mon, 08 Jun 2026 09:25:49 -0400 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id D6A8A195608F; Mon, 8 Jun 2026 13:25:46 +0000 (UTC) Received: from localhost (unknown [10.2.16.156]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 0CC111800347; Mon, 8 Jun 2026 13:25:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1780925150; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QacUtpu9mGw44ZmVTNI8OyXBWgeJQcc56jtqDPj9X3E=; b=Dr0Rf2CBOcgYFL+VgzO9McPTGm4wBhljQpkOi9ilHdFRaunkSfxAy+7FRt0wxYd30T9oZE E61MgF+f92n7r0V91TPYA1SqFvp6M9tmTdXSvKOfHGR36bxi++dbSNf8tlEf1n0cLaANyO BfQDmNlacUSOap8K1HgYN08t50xcGdM= X-MC-Unique: ycxv5AANNFSjZALPrM9ZoQ-1 X-Mimecast-MFC-AGG-ID: ycxv5AANNFSjZALPrM9ZoQ_1780925147 From: Stefan Hajnoczi To: qemu-devel@nongnu.org Cc: Fam Zheng , Stefan Hajnoczi , qemu-block@nongnu.org, Kevin Wolf , Hanna Reitz , Fiona Ebner , qemu-stable@nongnu.org Subject: [PULL 1/2] block/io: fallback to bounce buffer if BLKZEROOUT is not supported because of alignment Date: Mon, 8 Jun 2026 09:25:23 -0400 Message-ID: <20260608132524.470459-2-stefanha@redhat.com> In-Reply-To: <20260608132524.470459-1-stefanha@redhat.com> References: <20260608132524.470459-1-stefanha@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=stefanha@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: 8 X-Spam_score: 0.8 X-Spam_bar: / X-Spam_report: (0.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.445, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_SBL_CSS=3.335, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1780925213081158500 Content-Type: text/plain; charset="utf-8" From: Fiona Ebner Commit 5634622bcb ("file-posix: allow BLKZEROOUT with -t writeback") enables the BLKZEROOUT ioctl when using 'writeback' cache, regressing certain 'qemu-img convert' invocations, because of a pre-existing issue. Namely, the BLKZEROOUT ioctl might fail with errno EINVAL when the request is shorter than the block size of the block device. Fallback to the bounce buffer, similar to when the ioctl is not supported at all, rather than treating such an error as fatal. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/3257 Resolves: https://bugzilla.proxmox.com/show_bug.cgi?id=3D7197 Cc: qemu-stable@nongnu.org Signed-off-by: Fiona Ebner Message-ID: <20260105143416.737482-1-f.ebner@proxmox.com> [Added TODO comment describing a larger fix that could be implemented in the future. --Stefan] Signed-off-by: Stefan Hajnoczi --- block/io.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/block/io.c b/block/io.c index e8fb4ede4d..6c0bbdcf1e 100644 --- a/block/io.c +++ b/block/io.c @@ -1918,7 +1918,18 @@ bdrv_co_do_pwrite_zeroes(BlockDriverState *bs, int64= _t offset, int64_t bytes, assert(!bs->supported_zero_flags); } =20 - if (ret =3D=3D -ENOTSUP && !(flags & BDRV_REQ_NO_FALLBACK)) { + /* + * TODO The ret =3D=3D -EINVAL && num < alignment case is a workar= ound for + * when request_alignment is 1 on files with cache=3Dwriteback. Th= e Linux + * ioctl(BLKZEROOUT) requires block alignment and will fail with + * EINVAL. The block layer should align the request to + * write_zeroes_alignment instead of trying the syscall, failing, = and + * falling back to a bounce buffer. Doing that is not easy so for = now + * we use a bounce buffer: + * https://lore.kernel.org/qemu-devel/20260109120837.2772961-1-f.e= bner@proxmox.com/ + */ + if ((ret =3D=3D -ENOTSUP || (ret =3D=3D -EINVAL && num < alignment= )) && + !(flags & BDRV_REQ_NO_FALLBACK)) { /* Fall back to bounce buffer if write zeroes is unsupported */ BdrvRequestFlags write_flags =3D flags & ~BDRV_REQ_ZERO_WRITE; =20 --=20 2.54.0 From nobody Tue Jun 9 01:37:59 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=quarantine dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1780925221; cv=none; d=zohomail.com; s=zohoarc; b=XG7/gTOiv+cwb23J8aQIAv8n3jMXJdquBBNsMeS5KZOVHmK5dCZ9mTSNmzNcT/ir4j3nFwQOrOLoD0XeN8iIQoRT/WMM4b92/B0Vut96Ir+/q7KPItp8c3Kf+c6JW54XCp5+l0DHFYrL/R9bTAapONJHw6e1qkPApb5MhODz2Yc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1780925221; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=zVYIs/5elF54/f8uv50w3uWUnid7byfBwfgz0+LS0RQ=; b=IRPaepTrpU6X25Ks3ip6dZ+0jxztunIihIXwZBZYqvUfDosBdfr5Y4glEn81+Z3g9joPhUUeBSpkJ1orlQj5K52op5lmviyfdjWfBuYop38fVH0uYBs131s7AeqTGZx8NnA63IXrpBZGK4g5t4QA0UFnC+JU0tZdOwAFHDoOadM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1780925221570108.88310388084494; Mon, 8 Jun 2026 06:27:01 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wWZzN-0000Fz-A9; Mon, 08 Jun 2026 09:26:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wWZzI-0000FP-NV for qemu-devel@nongnu.org; Mon, 08 Jun 2026 09:25:56 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wWZzG-0008VP-72 for qemu-devel@nongnu.org; Mon, 08 Jun 2026 09:25:56 -0400 Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-676-OLkLAqIMMySOEEOcB50hOg-1; Mon, 08 Jun 2026 09:25:50 -0400 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 24C551800596; Mon, 8 Jun 2026 13:25:49 +0000 (UTC) Received: from localhost (unknown [10.2.16.156]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 039B118004D4; Mon, 8 Jun 2026 13:25:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1780925153; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zVYIs/5elF54/f8uv50w3uWUnid7byfBwfgz0+LS0RQ=; b=HUB6R8OJApmmI3pvluhhJ8mZGmwTE/jspQ04KyY9P+LurkqS6yFxALE17lFrWN5vb6Li8q vBXGjT1ixcR6rBd+3XPhFszR4j4pI6z9Yuiu2ISLoODztAHJVVFEwzBDgkjn0dh+nvnIWM iuSTMUVJs6bzLKaeMhXa4R/5d6Igd4U= X-MC-Unique: OLkLAqIMMySOEEOcB50hOg-1 X-Mimecast-MFC-AGG-ID: OLkLAqIMMySOEEOcB50hOg_1780925149 From: Stefan Hajnoczi To: qemu-devel@nongnu.org Cc: Fam Zheng , Stefan Hajnoczi , qemu-block@nongnu.org, Kevin Wolf , Hanna Reitz , Markus Armbruster , Stefano Garzarella Subject: [PULL 2/2] MAINTAINERS: remove Julia Suvorova from Linux io_uring Date: Mon, 8 Jun 2026 09:25:24 -0400 Message-ID: <20260608132524.470459-3-stefanha@redhat.com> In-Reply-To: <20260608132524.470459-1-stefanha@redhat.com> References: <20260608132524.470459-1-stefanha@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=stefanha@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -24 X-Spam_score: -2.5 X-Spam_bar: -- X-Spam_report: (-2.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.445, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1780925222955158500 Content-Type: text/plain; charset="utf-8" Julia's email is bouncing because she no longer works for Red Hat. She has not responded to when asked whether she wishes to update her email address. Remove her old email address for now. Cc: Markus Armbruster Cc: Stefano Garzarella Signed-off-by: Stefan Hajnoczi Reviewed-by: Stefano Garzarella Message-id: 20260603194732.79041-1-stefanha@redhat.com Signed-off-by: Stefan Hajnoczi --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 79ecac16fe..748ec77beb 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4346,7 +4346,6 @@ F: block/file-win32.c F: block/win32-aio.c =20 Linux io_uring -M: Julia Suvorova M: Stefan Hajnoczi R: Stefano Garzarella L: qemu-block@nongnu.org --=20 2.54.0