From: Arnd Bergmann Subject: Re: LogFS take four Date: Mon, 4 Jun 2007 00:18:21 +0200 Message-ID: <200706040018.23001.arnd@arndb.de> References: <20070603183845.GA8952@lazybastard.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, akpm@osdl.org, Sam Ravnborg , John Stoffel , David Woodhouse , Jamie Lokier , Artem Bityutskiy , CaT , Jan Engelhardt , Evgeniy Polyakov , David Weinehall , Willy Tarreau , Kyle Moffett , Dongjun Shin , Pavel Machek , Bill Davidsen , Thomas Gleixner , Albert Cahalan , Pekka Enberg , Roland Dreier , Ondrej Zajicek , Ulisses Furquim To: =?utf-8?q?J=C3=B6rn_Engel?= Return-path: Received: from moutng.kundenserver.de ([212.227.126.183]:58581 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751445AbXFCWSv convert rfc822-to-8bit (ORCPT ); Sun, 3 Jun 2007 18:18:51 -0400 In-Reply-To: <20070603183845.GA8952@lazybastard.org> Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Sunday 03 June 2007, J=C3=B6rn Engel wrote: > Unchanged: > o error handling >=20 =2E.. > Won't happen (unless I get convinced to do otherwise): > o Change LOGFS_BUG() and LOGFS_BUG_ON() to inline functions > These are macros for very much the same reasons BUG() and BUG_ON() = are. I wonder how many of your LOGFS_BUG{,_ON} still remain after the error handling is in place to deal with broken file system contents. Ideally, I'd say the current LOGFS_BUG() should be replaced with a function that prints about the kind of error it has hit (rate-limited= ), potentially calls logfs_crash_dump(), and remounts the medium read-only= , but _not_ call BUG(). Arnd <>< - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel= " in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html