From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933019Ab0JFSba (ORCPT ); Wed, 6 Oct 2010 14:31:30 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:49476 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932632Ab0JFSb3 (ORCPT ); Wed, 6 Oct 2010 14:31:29 -0400 Date: Wed, 6 Oct 2010 19:31:24 +0100 From: Al Viro To: Linus Torvalds Cc: Jens Axboe , Christoph Hellwig , "linux-kernel@vger.kernel.org" Subject: Re: [GIT PULL] one writeback regression fix for .36 Message-ID: <20101006183124.GR19804@ZenIV.linux.org.uk> References: <4CACA9AD.9070900@fusionio.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-08-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 06, 2010 at 11:17:54AM -0700, Linus Torvalds wrote: > > Christoph Hellwig (1): > > ? ? ?writeback: always use sb->s_bdi for writeback purposes > > This is a f*cking disgrace. It's now the second patch I see during > this release window that works by parsing random strings in the block > device layer. > > This needs to stop. There's something seriously wrong in the whole > subsystem. This kind of hackery is a disease, and it seems to be > endemic. Eh... I'm no fonder of that than you are (and strcmp is fucking stupid), but... that thing is really sb_is_blkdev_sb() trying to make a comeback in fs/fs-writeback.c. IOW, it's sick, but not for the reasons you are mentioning; strcmp() use is trivially removable.