From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH 12/13] vfs: count unlinked inodes Date: Fri, 28 Oct 2011 04:29:50 -0400 Message-ID: <20111028082950.GA31605@infradead.org> References: <1318430946-7091-1-git-send-email-miklos@szeredi.hu> <1318430946-7091-13-git-send-email-miklos@szeredi.hu> <20111028060801.GA15345@infradead.org> <1319788433.13842.8.camel@tucsk.pomaz.szeredi.hu> <20111028080445.GA10318@infradead.org> <87hb2t5xzd.fsf@tucsk.pomaz.szeredi.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Christoph Hellwig , viro@ZenIV.linux.org.uk, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, jack@suse.cz, akpm@linux-foundation.org, toshi.okajima@jp.fujitsu.com To: Miklos Szeredi Return-path: Content-Disposition: inline In-Reply-To: <87hb2t5xzd.fsf@tucsk.pomaz.szeredi.hu> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Fri, Oct 28, 2011 at 10:20:06AM +0200, Miklos Szeredi wrote: > Okay, so a WARN_ON is not warranted. Perhaps a printk instead? > > While initializing nlink with zero normally shouldn't be a problem it > might indicate something unexpected. Please do a ratelimited printk. If the log recovery case hits any fs it will usually do it for tons of inodes in a short period. Also please try to stick to 80 character lines if possible.