From nobody Tue Nov 18 09:20:12 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; 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 ARC-Seal: i=1; a=rsa-sha256; t=1609087473; cv=none; d=zohomail.com; s=zohoarc; b=kmsVUr/AoU/3BwvVwl4OJ6pRpeabtHSDQKGni+Gcbn+WQyvqQ8K7LOlkM680knfBqOZgvybZn1lYtydxHW3BuE2tgmOumKi04Lto4rN3XLLfijYS8pU+wvxclMkwj0nYVpukYuIkHde9EJabqEbqhFhDswGhuChPwm6rjfLF91M= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1609087473; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To; bh=yjh6Igi8yF63vIglelyU/I79R4sy6J2S5hVareLYI8o=; b=aGqlk6IGS9JdmXM1+VqzjG7P0YsIHgQN2fFcjxVwZ4O+eYJn1rcbUPS6tPVYS77gfSHvK+ELRjUsoj+RsiOVEHpZkiMifVE4SEDQbdmTRGtgAsHqJu7afV3DpKfWayYfsnC1Bo/ympwOqcIpsBThiQZvgvb7p43JRJkfzNY8Sdg= ARC-Authentication-Results: i=1; mx.zohomail.com; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1609087472748304.2467267609003; Sun, 27 Dec 2020 08:44:32 -0800 (PST) Received: from localhost ([::1]:56282 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ktZ9j-0002xs-Tv for importer@patchew.org; Sun, 27 Dec 2020 11:44:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43242) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktZ8C-0001OV-35 for qemu-devel@nongnu.org; Sun, 27 Dec 2020 11:42:57 -0500 Received: from kerio.kamp.de ([195.62.97.192]:33894) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktZ89-0003wt-Pk for qemu-devel@nongnu.org; Sun, 27 Dec 2020 11:42:55 -0500 Received: from submission.kamp.de ([195.62.97.28]) by kerio.kamp.de with ESMTPS (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256 bits)) for qemu-devel@nongnu.org; Sun, 27 Dec 2020 17:42:42 +0100 Received: (qmail 22374 invoked from network); 27 Dec 2020 16:42:44 -0000 Received: from lieven-pc.kamp-intra.net (HELO lieven-pc) (relay@kamp.de@::ffff:172.21.12.60) by submission.kamp.de with ESMTPS (DHE-RSA-AES256-GCM-SHA384 encrypted) ESMTPA; 27 Dec 2020 16:42:44 -0000 Received: by lieven-pc (Postfix, from userid 1060) id 6772013DD28; Sun, 27 Dec 2020 17:42:44 +0100 (CET) X-Footer: a2FtcC5kZQ== From: Peter Lieven To: qemu-block@nongnu.org Subject: [PATCH 7/7] block/rbd: change request alignment to 1 byte Date: Sun, 27 Dec 2020 17:42:36 +0100 Message-Id: <20201227164236.10143-8-pl@kamp.de> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201227164236.10143-1-pl@kamp.de> References: <20201227164236.10143-1-pl@kamp.de> 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=lists.gnu.org; Received-SPF: pass client-ip=195.62.97.192; envelope-from=pl@kamp.de; helo=kerio.kamp.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kwolf@redhat.com, Peter Lieven , qemu-devel@nongnu.org, ct@flyingcircus.io, mreitz@redhat.com, dillaman@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" since we implement byte interfaces and librbd supports aio on byte granular= ity we can lift the 512 byte alignment. Signed-off-by: Peter Lieven --- block/rbd.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/block/rbd.c b/block/rbd.c index 27b4404adf..8673e8f553 100644 --- a/block/rbd.c +++ b/block/rbd.c @@ -223,8 +223,6 @@ done: static void qemu_rbd_refresh_limits(BlockDriverState *bs, Error **errp) { BDRVRBDState *s =3D bs->opaque; - /* XXX Does RBD support AIO on less than 512-byte alignment? */ - bs->bl.request_alignment =3D 512; #ifdef LIBRBD_SUPPORTS_WRITE_ZEROES bs->bl.pwrite_zeroes_alignment =3D s->object_size; #endif --=20 2.17.1