[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4EBC406D.8010404@garzik.org>
Date: Thu, 10 Nov 2011 16:21:49 -0500
From: Jeff Garzik <jeff@...zik.org>
To: Tejun Heo <tj@...nel.org>
CC: Jens Axboe <axboe@...nel.dk>,
"James E.J. Bottomley" <James.Bottomley@...senPartnership.com>,
Nao Nishijima <nao.nishijima.xt@...achi.com>,
Kay Sievers <kay.sievers@...y.org>,
Greg Kroah-Hartman <gregkh@...e.de>,
Alan Cox <alan@...ux.intel.com>,
Al Viro <viro@...iv.linux.org.uk>,
linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org
Subject: Re: [PATCH] block: Revert "[SCSI] genhd: add a new attribute "alias"
in gendisk"
On 11/09/2011 11:25 AM, 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<tj@...nel.org>
> Cc: Jens Axboe<axboe@...nel.dk>
> Cc: "James E.J. Bottomley"<James.Bottomley@...senPartnership.com>
> Cc: Nao Nishijima<nao.nishijima.xt@...achi.com>
> Cc: Kay Sievers<kay.sievers@...y.org>
> Cc: Greg Kroah-Hartman<gregkh@...e.de>
> Cc: Alan Cox<alan@...ux.intel.com>
> Cc: Al Viro<viro@...iv.linux.org.uk>
Acked-by: Jeff Garzik <jgarzik@...hat.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists