From patchwork Sun May 12 06:09:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrea Righi X-Patchwork-Id: 1934194 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VcXMN3qxgz1yfq for ; Sun, 12 May 2024 16:11:59 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1s62Qx-0000h0-Rn; Sun, 12 May 2024 06:11:43 +0000 Received: from smtp-relay-internal-0.internal ([10.131.114.225] helo=smtp-relay-internal-0.canonical.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1s62Qv-0000gD-1m for kernel-team@lists.ubuntu.com; Sun, 12 May 2024 06:11:41 +0000 Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) (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 smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id D014A3F102 for ; Sun, 12 May 2024 06:11:40 +0000 (UTC) Received: by mail-ej1-f72.google.com with SMTP id a640c23a62f3a-a592c35ac06so310918866b.0 for ; Sat, 11 May 2024 23:11:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715494300; x=1716099100; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=9U1ltMei7u++m5/xBePBksw4wnTXu+IEiTUE1qWtPDE=; b=qSPOIaDi0BmWDxigMgv3vfB/HAcqrj50b6Sid0SSZjxS4DjcogDYoLyhQ6n9jNRro3 wynKCEnSUhOpCgWiPl1A/tlWV40pNMM19E+E3ZSFT3pMaYhclG10hvYNjL0lFnKipjtc WFUm8MIQatEjhsmXHRAHNZqXefwzrZF0H+yAi4lgJI5Z0T6f2NZ1wZlaa1thd5YG0k38 d9pELNCMAlIQheIINx9jcTmQhrSH286144eF6ws0YjKy9xOlvZVkvWOwurtRQRjUVhgk Q4IG32D8ZAdikUBMilXh1G0mxwAwapASG6cPqtMhxiICGybRorSkVSWUOFIlV8j3seD8 6EGw== X-Gm-Message-State: AOJu0Yw34dJfZ1y/NXskxcbUJorW4N0Kr+nJEX5sU/6OHI40TDV2jdLX IUqlXzWjFLtAq9OKR6grUiJ8gG91WiyJIAWqdIxIuh87DfAasZY10ZefYr8PKcuVUepPFxtiJA6 G46SFkqBEoGql9shEprTpB5txvK64W06lQJXUpcBHa9etGUoRJygjERP3BKC0m2VU+ifaCtBt83 myJrNAo4PG2g== X-Received: by 2002:a17:906:6a22:b0:a5a:5bc8:9fcf with SMTP id a640c23a62f3a-a5a5bc8a0c9mr101257766b.36.1715494300282; Sat, 11 May 2024 23:11:40 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH9cFhnTUapEdfRCViw3WEviahssFB1T0b+oX9F2U623b/Xew77n0iglIEZYssXLul7ivTnLg== X-Received: by 2002:a17:906:6a22:b0:a5a:5bc8:9fcf with SMTP id a640c23a62f3a-a5a5bc8a0c9mr101256366b.36.1715494299686; Sat, 11 May 2024 23:11:39 -0700 (PDT) Received: from gpd.homenet.telecomitalia.it (host-95-234-187-171.retail.telecomitalia.it. [95.234.187.171]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5a17b0125bsm424487566b.143.2024.05.11.23.11.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 May 2024 23:11:39 -0700 (PDT) From: Andrea Righi To: kernel-team@lists.ubuntu.com Subject: [SRU][N][PATCH 0/1] fix autopkgtest-virt-qemu regression with 6.8 Date: Sun, 12 May 2024 08:09:57 +0200 Message-ID: <20240512061136.726299-1-andrea.righi@canonical.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/2056461 [Impact] It seems that kernel 6.8 introduced a regression in the 9pfs related to caching and netfslib, that can cause some user-space apps to read content from files that is not up-to-date (when they are used in a producer/consumer fashion). It seems that the offending commit is this one: 80105ed2fd27 ("9p: Use netfslib read/write_iter") Reverting the commit seems to fix the problem. However the actual bug might be in netfslib or how netfslib is used in the 9p context. The regression has been reported upstream and we are still investigating (https://lore.kernel.org/lkml/Zj0ErxVBE3DYT2Ea@gpd/). In the meantime it probably makes sense to temporarily revert the commit as a SAUCE patch. Then we will drop the SAUCE patch once we'll have a proper fix upstream. [Test case] The following test should complete correctly without any timeout: pull-lp-source -d hello autopkgtest-buildvm-ubuntu-cloud -r noble autopkgtest -U hello*.dsc -- qemu ./autopkgtest-noble-amd64.img [Fix] Revert the following commit (until we have a proper fix upstream): 80105ed2fd27 ("9p: Use netfslib read/write_iter") [Regression potential] We may experience other regressions related to 9pfs with this change, however it's quite unlikely to happen since we are reverting a commit, restoring the previous behavior. Acked-by: Tim Gardner Acked-by: Marcelo Henrique Cerri