Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp217945rwb; Fri, 12 Aug 2022 18:13:58 -0700 (PDT) X-Google-Smtp-Source: AA6agR7066/DdZ1dlxRba29cXiRxWY8DPCEBpGlhansRBHaWEu0aDXIH+1oFLBucPb8G7h//BlX3 X-Received: by 2002:a17:907:7da0:b0:734:9bc0:6203 with SMTP id oz32-20020a1709077da000b007349bc06203mr4182892ejc.637.1660353238169; Fri, 12 Aug 2022 18:13:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660353238; cv=none; d=google.com; s=arc-20160816; b=Z5IFH2EBJxpXFM9bfXwipcAgBhG2tQrwvNPgHYfyz8HJayXpzG/2Q4wj//Hk29EUbX YyIdzkpRwd8pJ7T/iX+oxaHC+Hwc2xFeRa3xb7DJ3v+QcBbwCSSTbxgbKkcFvzHKDjXr Pb0CoTdKLJ0HrmjouAXrW1qq4EoEwYfmXuRPdpaS9Ur/iCFUXWGaasWtzYTgHWoO96At Ygma3VuUcfckiG5H+BdwHP9G5PqGb3oV0FPqwcqZBr2gDjAfWbndnCjxdW1XHdAA55iL Vns38rE3cx/yYSkmJcvd7pcvxTDctKnMC3hjYnozpuE/VtGweq+KQlBH38pM4Nvi8I2X B4bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=j1g8uhYigspJH989doVivrwoMX5Pu8nguHu7+l9FHh4=; b=gdVrctjbc+ausMcGOJ0sQJQtkN9jElpUHL3HFRoZ0dEWuGYPs9A8PD0yQ0Q4E8S4zw FJFKVTCOpiETSNNN8MfvC95tQADPZmKWZ3ClG+pIwuObibrtPTTR31DZuvusy++i/0yU +JU7oNW+9CRkg7cjpLaUjTG8aoLmukPDG1pLQzagsKzSyjJxihf5whVPTA+m6L6h4lRJ iOWfe5UlpalSx2ubY768gvT+KUCtZJJcOg3qGwqJ6H/MZFZrrRz/70BZuCY19qc9gX0R YVdXqtgufYf0hYflkK3f/JhxIDJz2vBcZ7wKAZJoZsBjEEaBB4O1BEFOvv04anZs+k5l lQGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mit.edu header.s=outgoing header.b=ponviUl1; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mit.edu Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e14-20020a056402190e00b0043e8dd308a6si4091414edz.8.2022.08.12.18.13.34; Fri, 12 Aug 2022 18:13:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@mit.edu header.s=outgoing header.b=ponviUl1; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mit.edu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233709AbiHMBMB (ORCPT + 99 others); Fri, 12 Aug 2022 21:12:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238008AbiHMBLz (ORCPT ); Fri, 12 Aug 2022 21:11:55 -0400 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0865A98EC for ; Fri, 12 Aug 2022 18:11:53 -0700 (PDT) Received: from letrec.thunk.org (c-24-1-67-28.hsd1.il.comcast.net [24.1.67.28]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 27D1BlaD017018 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 12 Aug 2022 21:11:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1660353109; bh=j1g8uhYigspJH989doVivrwoMX5Pu8nguHu7+l9FHh4=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=ponviUl1MmBOzm58Y8sB+MAz+mfCtC0QGkE6837bgTcBgtYlIIFJK7mOSNFGgFamT vyprcRLhS4dJlOlbgTrYipJy7JUgf48ivVnSArki0nvB+nwLXD9Vg4RoTqw7cUb/TA RatlMucXWKTf9Cm27Va/Cfb0Wsj3zblB5RtgRg1LOlfjI+5DpdsY8LGc1h5rqoOYGu 9XciZPpMl2MJLcf0wM5H3N0D1YHRfxlmQQlIH4IMrvudq4FVNR5VBZEpiCGdhoRQHk ALD7WjvCky/hMQ3dBuW3w5qtWlDQmftBKwrQcOD5uG8Luu9yXjlVBVDPtHPP9Wf3aY 4k0P0sJ7QmVlw== Received: by letrec.thunk.org (Postfix, from userid 15806) id 762C88C2DE9; Fri, 12 Aug 2022 21:11:47 -0400 (EDT) Date: Fri, 12 Aug 2022 21:11:47 -0400 From: "Theodore Ts'o" To: Andreas Dilger Cc: linux-ext4@vger.kernel.org, Dongyang Li Subject: Re: [PATCH] debugfs: quiet debugfs 'catastrophic' message Message-ID: References: <20220805220606.11994-1-adilger@dilger.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220805220606.11994-1-adilger@dilger.ca> X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Fri, Aug 05, 2022 at 04:06:07PM -0600, Andreas Dilger wrote: > When debugfs runs with "-c", it prints a scary-looking message: > > catastrophic mode - not reading inode or group bitmaps > > that is often misunderstood by users to mean that there is something > wrong with the filesystem, when there is no problem at all. > > Not reading the bitmaps is totally normal and expected behavior for > the "-c" option, which is used to significantly shorten the debugfs > command execution time by not reading metadata that isn't needed for > commands run against very large filesystems. > > Since there is often confusion about what this message means, it > would be better to just avoid printing anything at all, since the > use of "-c" is expressly requesting this behavior, and there are > no messages printed out for other options. > > Signed-off-by: Andreas Dilger > Reviewed-by: Dongyang Li > Change-Id: I59b26a601780544ab995aa4ca7ab0c2123c70118 Applied, thanks! - Ted