From nobody Sun Jul 26 11:01:48 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=crudebyte.com ARC-Seal: i=1; a=rsa-sha256; t=1783092728; cv=none; d=zohomail.com; s=zohoarc; b=aLPvU/lX85lXelZPeZ6x+GKcGvO4ilBN/ZR+QHX2+UWUaFINV3fSfgiRin1Trx5DG2kSK2zvLSpTnU/Ow9q94GjJORZBfOShfaU+aYN6d4K9pn/ThraIaYKvAs4dE0ieJRRaDp75NQqr1wMp2h2T327cXOSCYDig0IogdSQGT1w= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1783092728; h=Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=N4W0LJdQRwD4ETmwmY9B5dDVjq81cfRWAWEOEHWYBXM=; b=Wr2jdDiRUZnZzz6TzGlKX2z5b0YZ9TJArcS7fF+fNS/knPmLulAjMe9V1XpGpufVrah+Yn1MclWGaKwWtULAd+vD9oP57v6LtDl0mlASPW0S04iDGsT6WgxD8fxdImXuLRjYbOZPBfnp4vh7wcRZtbAY9+L1HfqB7YbdGYJT1fk= 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 1783092728271394.3401944766447; Fri, 3 Jul 2026 08:32:08 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wffrD-0003Xz-0J; Fri, 03 Jul 2026 11:31:11 -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 1wffrB-0003Xg-OP; Fri, 03 Jul 2026 11:31:09 -0400 Received: from kylie.crudebyte.com ([5.189.157.229]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wffr6-0000Yk-Sd; Fri, 03 Jul 2026 11:31:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=crudebyte.com; s=kylie; h=Message-Id:Cc:To:Subject:Date:From:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Content-ID: Content-Description; bh=N4W0LJdQRwD4ETmwmY9B5dDVjq81cfRWAWEOEHWYBXM=; b=uFjOE 7zr35ZSP3OrT2lygioUZnGC1tsMSfyXLOBv55TokLQNv1vRMNCfLQyhNxpjKBOt4fF4MfXAYUGDQS 7ov17Pcxk4hlMfhpMzb3Kc83qQSEkpGqvh/8QN20VJBeG4C4Cwcu5Vf96EnvYMaAxcJWFv1LTVVDO N4m54OUSltAw9SZ/m+utPjF8FdpY6Jq1cgKmbRv0lCqFfoYlOlMZOcZLgyDqF2Tr7gS7tWoKdqCoh M3zT/QtljU6hPJE88ktAMjh9JHXp0NoBXixFO4izt0xMfmK3YNH7RzX0140Tk/1b00NAEPI07R4jw AjD7sJPEDembIYatZH2zDw95m4Ufm1TBvlE9ZcPXyNzUbwFE7XlIOzyYvyhaMKkk/lj5CnRgtGESr Ec8I8fE9LUaaim9I2L9bUoWuRc8KaBsXGfywFOU1pbnWOvGKbTvEsPGBhDXc/1tZ0Hyg28iRGO3pR U4g/A7iOM8Aqd6q3bKEYToY0ImcjJaQuVfu/4QVTV9vCKoZutRE6CbQp2aYAqStxr3QhbCxT4eMkN wMNEAfyhqMytDL0XCx0JGAFf7xC8vkTXKG8tHLuQ6bztmVmHmrU/VgU14aDOLXNFbXEffjGP6xZDN d+cdWJ2e9yiGt7AYGbnAwfdrSdfiBeIcgPsi2o3BO3CEQkPlkbCFkPKoXKipLA=; From: Christian Schoenebeck Date: Fri, 3 Jul 2026 17:26:08 +0200 Subject: [PATCH] tests/9p: reduce xattr size to 1k To: qemu-devel@nongnu.org Cc: qemu-stable@nongnu.org, Greg Kurz , Pierrick Bouvier Message-Id: 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=5.189.157.229; envelope-from=ebbe1432d1be2316c5c0096476beb0a43dad83df@kylie.crudebyte.com; helo=kylie.crudebyte.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-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.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 @crudebyte.com) X-ZM-MESSAGEID: 1783092730008158500 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" On host systems with ext4 and ea_inode capability not enabled, the max. size for xattr values is slightly below 4k, which caused the new xattr tests to fail on such host systems. Reduce the xattr size for our tests to 1k to prevent them to fail on such host systems. Reported-by: Pierrick Bouvier Fixes: 04a62cdfe8 ("tests/9p: add 3 xattr FID limit test cases (local fs dr= iver)") Signed-off-by: Christian Schoenebeck Reviewed-by: Pierrick Bouvier Tested-by: Pierrick Bouvier --- tests/qtest/virtio-9p-test.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/tests/qtest/virtio-9p-test.c b/tests/qtest/virtio-9p-test.c index cfd3c02da4..938b5a4717 100644 --- a/tests/qtest/virtio-9p-test.c +++ b/tests/qtest/virtio-9p-test.c @@ -38,11 +38,17 @@ /* * xattr size to be used for xattr tests * - * 64k is the max. xattr size supported by the Linux kernel, However btrfs - * for instance supports only 16219 bytes. So let's be conservative and - * just use 8k for the xattr tests. + * 64k is the max. xattr size supported by the Linux kernel on high-level = VFS + * layer. However filesystems impose their own limits: + * + * - btrfs: 16219 bytes + * + * - ext4: blocksize - 56 bytes (~4KB) if no ea_inode capability enabled, + * 64k if ea_inode enabled + * + * So let's be conservative and just use 1k for the xattr tests. */ -#define TEST_XATTR_SIZE (8 * 1024) +#define TEST_XATTR_SIZE (1 * 1024) =20 static void pci_config(void *obj, void *data, QGuestAllocator *t_alloc) { --=20 2.47.3