From patchwork Wed Dec 15 15:32:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juerg Haefliger X-Patchwork-Id: 1568333 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=q65G+uwr; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4JDfQV6FCZz9sVq for ; Thu, 16 Dec 2021 02:33:06 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1mxWH7-0001bA-1L; Wed, 15 Dec 2021 15:33:01 +0000 Received: from smtp-relay-internal-0.internal ([10.131.114.225] helo=smtp-relay-internal-0.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1mxWH4-0001Zo-5r for kernel-team@lists.ubuntu.com; Wed, 15 Dec 2021 15:32:58 +0000 Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (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 E52A23F1C6 for ; Wed, 15 Dec 2021 15:32:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1639582377; bh=6pkBotdCgYH9nkVkoFzVCBkPb5pkyhHj98R4YZjF2Tc=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=q65G+uwrr1IVZzXW19ZTE9GKpt+eYSrnustXumd0WkWejjQxt2/qW8SyzDxk6EyEy Nuxxs7b4cywjfVD232z4EgVOLJ7SPiMERHjyXd29zt86/yAFRshOjWgPB4POeInEhP TJp5qTPIi+vMelYwlUy76OT/S3qoOPF2oZGjKmUJXjLg23NFagFb3QiTkWZiMXFG/S Kz1CsYBMS1M0fvWMyjeR8IcisgrFGeqDe9RH2PjLFfuz8hC0gDm99sOpn9ROwxYWOD Z05P7wLm26f0Xri9+ZJaA/jN9mQsTTgg9scVYDHzorhoSLy0JM5irDKBzzH1/iu+IP Vl7AwO/3VLoAA== Received: by mail-wr1-f70.google.com with SMTP id n22-20020adf8b16000000b001a22f61b29cso610405wra.23 for ; Wed, 15 Dec 2021 07:32:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6pkBotdCgYH9nkVkoFzVCBkPb5pkyhHj98R4YZjF2Tc=; b=0CblQxwcCEpKWVXI6FBcOH5GUzz6O58zZd8AYSBMiPDwhta/HEUIx6rPoQRO9h/Oi4 c5Ubt2YjFjpzpYetM15oQRd3RBNFH6jDD/2yw+5OGMjHjyTmpXGWxUW3ZUJ/cYT4q9Ex uopFxFEtp9zbOMiexOoqGFH1j209x/7LxCSCQF4jxBuSIpSBnRaTUalbrX1S24JS9feq 06T+n2iYgm72OgShj4DqdiYC6VUN+YJ7RbjisfgOIkVUF4JKrqV4z/I0aJeDYIXrrf7M IZxHNpwZriXDW1dRz6xB3yKAa/W/KV2nBSu2WAS/vBRNQmETMAE3i5TYZujYve5ZiIgW 92cA== X-Gm-Message-State: AOAM530glykMy1GTUME/VL8jf8VTtUyjC3uGBIgRlHnKu8hiuXf/nf1y tiDAizY7Ho1rdjXOwWadzy7lJtTQXCbD3+0uizg1tORoUDV83Jo666ooEy434IQJn7y7JipCDau bSTr+xhmAaY4NMkF0gdDLo5tR40bpOZGqJwLRXfNJnw== X-Received: by 2002:a05:600c:510f:: with SMTP id o15mr331090wms.104.1639582377597; Wed, 15 Dec 2021 07:32:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJw8wptqkhL6RSLlMUxBHNUMPCd+MTBTXsY847htS7ecnZkLnkircY7dxYOS6E30lP/UF/q+sQ== X-Received: by 2002:a05:600c:510f:: with SMTP id o15mr331072wms.104.1639582377394; Wed, 15 Dec 2021 07:32:57 -0800 (PST) Received: from gollum.fritz.box ([194.191.244.86]) by smtp.gmail.com with ESMTPSA id g18sm6565580wmq.4.2021.12.15.07.32.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Dec 2021 07:32:56 -0800 (PST) From: Juerg Haefliger X-Google-Original-From: Juerg Haefliger To: kernel-team@lists.ubuntu.com Subject: [SRU][B/raspi-5.4][PATCH 1/1] UBUNTU: [Config] raspi-bionic: Set BLK_DEV_LOOP_MIN_COUNT=8 Date: Wed, 15 Dec 2021 16:32:53 +0100 Message-Id: <20211215153254.174745-3-juergh@canonical.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211215153254.174745-1-juergh@canonical.com> References: <20211215153254.174745-1-juergh@canonical.com> 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/1948807 This config was set to 256 in Artful raspi for no apparent reason which means that the kernel creates 256 loop devices at boot. A recent security fix [1] introduced a slight delay when loop devices are created which in turn results in a ~3.5 seconds boot delay of the raspi kernel. Fix that by setting the config back to 8 (the default), which also matches all the other Ubuntu kernels. Verfied that core 18 and 20 create additional loop devices as needed to mount snaps. [1] 2cafe29a8d03 ("block: fix race between adding/removing rq qos and normal IO") Signed-off-by: Juerg Haefliger --- debian.raspi-bionic/config/config.common.ubuntu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian.raspi-bionic/config/config.common.ubuntu b/debian.raspi-bionic/config/config.common.ubuntu index ac0a1ed642d6..4f1a6050cb7f 100644 --- a/debian.raspi-bionic/config/config.common.ubuntu +++ b/debian.raspi-bionic/config/config.common.ubuntu @@ -783,7 +783,7 @@ CONFIG_BLK_DEV_INITRD=y CONFIG_BLK_DEV_INTEGRITY=y CONFIG_BLK_DEV_IO_TRACE=y CONFIG_BLK_DEV_LOOP=y -CONFIG_BLK_DEV_LOOP_MIN_COUNT=256 +CONFIG_BLK_DEV_LOOP_MIN_COUNT=8 CONFIG_BLK_DEV_MD=y CONFIG_BLK_DEV_NBD=m CONFIG_BLK_DEV_NULL_BLK=m