From patchwork Wed Dec 15 15:32:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juerg Haefliger X-Patchwork-Id: 1568331 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=KJWf2NMe; 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 4JDfQT72ypz9t55 for ; Thu, 16 Dec 2021 02:33:05 +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 1mxWH5-0001aJ-Qr; Wed, 15 Dec 2021 15:32:59 +0000 Received: from smtp-relay-internal-1.internal ([10.131.114.114] helo=smtp-relay-internal-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1mxWH3-0001ZY-BD for kernel-team@lists.ubuntu.com; Wed, 15 Dec 2021 15:32:57 +0000 Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (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-1.canonical.com (Postfix) with ESMTPS id 288373F044 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=3uon3YXFfgj13ixJnIrVHhn3FR4xrnjfhwEjFYOnxzU=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=KJWf2NMei1eGtUJeeH3gY/tuxb2+87dUdA+jUWGILWTaJpa87LfUIWCH74naZ/aai tFrhavU4Q+5kymOwuX3ClwLG7sPCFYFVwY7F/ihrbf9PBVqR2b7YFkotDeyZVY36aY PWbWE1MR+q0EImMfPs4NR/d9w2nWLFnrcLptrJv7ZJgm9vTFmFmmRSUi84C0mCf2GV rSWBppY5no0kBGBvDflhZZlVMu8eG4bIb7auXRYhhO6RaTRIpejismE/1vUbykHR+z Pj7lYmL8uAzwRRq3nUjRR+pF0XIDaBRyg9soKj6UV1iMPDcpKq7jG7wtwUNTif7ghU zeq00VGWdqlqg== Received: by mail-wm1-f71.google.com with SMTP id l4-20020a05600c1d0400b00332f47a0fa3so9142720wms.8 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=3uon3YXFfgj13ixJnIrVHhn3FR4xrnjfhwEjFYOnxzU=; b=m0GOfoWl9Rj/7NK2PzX6NCSFDuBSoSiUrVin/rFMVXY+oVIDJcBLyDTTzHS3y83gq4 eKtrDTbmrYkAqlgVGvQaT/z6cs92+fF34f4bLI2tNJIuVwYb7FS0EoUPLv5syew/PyFl dX1orPt7BzgDihvn0NrPqE8IUAsBrf0wv5pcOAWDdXsML5lSEFd8UQiU31FBSw/Uuteq IlzVXWNkHPXdv6qlNw/y6BHNiZ49QwtpuSYcthwAk84S0RscCeIaWf0a9lBDZWBiRnvP 31UP9wb3YjvokPiyEFIbLJPVcYje0s47K87gE7WxzUSx5xn+/UAhwPfddqC8ZAPyo/Pd RJGA== X-Gm-Message-State: AOAM533kd+6JA+fiSOkg2vtjqS88nvuoYc5L8PQObKq3viFsCCDzhl3x ojujt6gRbw2wBbp8430vpSXKte/CCFGPDhUKyomBNsHhv3So5DROSDKts86K1lkb+S9/7TUCXPb AojmlCY+32mx049Fr+TpJGpMTBVYGgCF8HcMxiUXvPA== X-Received: by 2002:a5d:448f:: with SMTP id j15mr4940067wrq.603.1639582376935; Wed, 15 Dec 2021 07:32:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJyv2nrke1McI2gEmt+IflryiogoOr2MHddflehvvXT1J+FnvYVW3/2VUnW78I+lObX6yDwbbA== X-Received: by 2002:a5d:448f:: with SMTP id j15mr4940049wrq.603.1639582376701; Wed, 15 Dec 2021 07:32:56 -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][I/raspi][H/raspi][F/raspi][PATCH 1/1] UBUNTU: [Config] raspi: Set BLK_DEV_LOOP_MIN_COUNT=8 Date: Wed, 15 Dec 2021 16:32:52 +0100 Message-Id: <20211215153254.174745-2-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/config/config.common.ubuntu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian.raspi/config/config.common.ubuntu b/debian.raspi/config/config.common.ubuntu index 13b3d70468d7..dd2d5cde2a11 100644 --- a/debian.raspi/config/config.common.ubuntu +++ b/debian.raspi/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