From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 129C4C43334 for ; Wed, 6 Jul 2022 12:00:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232655AbiGFMAU (ORCPT ); Wed, 6 Jul 2022 08:00:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232329AbiGFMAR (ORCPT ); Wed, 6 Jul 2022 08:00:17 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8459237DD; Wed, 6 Jul 2022 05:00:15 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 2C5DA68B05; Wed, 6 Jul 2022 14:00:11 +0200 (CEST) Date: Wed, 6 Jul 2022 14:00:10 +0200 From: Christoph Hellwig To: Bagas Sanjaya Cc: Christoph Hellwig , linux-block@vger.kernel.org, Ming Lei , Jens Axboe , linux-kernel@vger.kernel.org Subject: Re: unable to read RDB block due to b9684a71fca793 Message-ID: <20220706120010.GA16423@lst.de> References: <20220706080912.GA32273@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 06, 2022 at 05:16:06PM +0700, Bagas Sanjaya wrote: > On 7/6/22 15:09, Christoph Hellwig wrote: > >> Bisecting between v5.18 and v5.19-rc5, the culprit is commit b9684a71fca793 > >> ("block, loop: support partitions without scanning"). > > > > Which just restores the previous behavior of optionally allowing to > > scan for partitions on all loop devices. So that error had been > > there before and just disappeared due to a regression. > > OK. > > Can partition scanning for loop devices be disabled? If so, how? It is disabled by default. But some tools force partitions rescans, which is what that commit enabled. parted was the original reproducer.