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 7799BC00140 for ; Sat, 13 Aug 2022 01:12:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238255AbiHMBMC (ORCPT ); Fri, 12 Aug 2022 21:12:02 -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> 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