From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755537Ab1KIQxn (ORCPT ); Wed, 9 Nov 2011 11:53:43 -0500 Received: from cantor2.suse.de ([195.135.220.15]:37315 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753166Ab1KIQxl (ORCPT ); Wed, 9 Nov 2011 11:53:41 -0500 Date: Wed, 9 Nov 2011 08:53:30 -0800 From: Greg KH To: Tejun Heo Cc: Jens Axboe , "James E.J. Bottomley" , Nao Nishijima , Kay Sievers , Alan Cox , Al Viro , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org Subject: Re: [PATCH] block: Revert "[SCSI] genhd: add a new attribute "alias" in gendisk" Message-ID: <20111109165330.GA13326@suse.de> References: <20111109162512.GB1260@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111109162512.GB1260@google.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 09, 2011 at 08:25:12AM -0800, Tejun Heo wrote: > This reverts commit a72c5e5eb738033938ab30d6a634b74d1d060f10. > > The commit introduced alias for block devices which is intended to be > used during logging although actual usage hasn't been committed yet. > This approach adds very limited benefit (raw log might be easier to > follow) which can be trivially implemented in userland but has a lot > of problems. > > It is much worse than netif renames because it doesn't rename the > actual device but just adds conveninence name which isn't used > universally or enforced. Everything internal including device lookup > and sysfs still uses the internal name and nothing prevents two > devices from using conflicting alias - ie. sda can have sdb as its > alias. > > This has been nacked by people working on device driver core, block > layer and kernel-userland interface and shouldn't have been > upstreamed. Revert it. > > http://thread.gmane.org/gmane.linux.kernel/1155104 > http://thread.gmane.org/gmane.linux.scsi/68632 > http://thread.gmane.org/gmane.linux.scsi/69776 > > Signed-off-by: Tejun Heo > Cc: Jens Axboe > Cc: "James E.J. Bottomley" > Cc: Nao Nishijima > Cc: Kay Sievers > Cc: Greg Kroah-Hartman Acked-by: Greg Kroah-Hartman Thanks for reverting this, greg k-h