mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: Cset 1.1490.4.201 - dasd naming
@ 2004-01-27  8:52 Martin Schwidefsky
  2004-01-27  9:25 ` linux-2.6.1 x86_64 : STACK_TOP and text/data dada1
  2004-01-28 18:05 ` Cset 1.1490.4.201 - dasd naming Pete Zaitcev
  0 siblings, 2 replies; 7+ messages in thread
From: Martin Schwidefsky @ 2004-01-27  8:52 UTC (permalink / raw)
  To: Pete Zaitcev; +Cc: laroche, linux-kernel, zaitcev


Hi Pete,

> In a recent changeset in Linus' tree, there's your diff which blows up
> the dasd naming scheme, with the comment:
>  - Change dasd names from "dasdx" to "dasd_<busid>_".
We plan to do this for tape and other ccw devices as well (where applicable).

> This breaks mkinitrd, nash, and mount by label (not to mention every
> zipl.conf out there, because root= aliases to /sys/block/%s).
> Would you please explain what exactly you were thinking when you
> submitted that patch?
The reason for this change is the requirement to have persistent device
names. The /dev/dasdxyz naming schema heavily depends on the order in
which the device are added. Not good for persistent names. This change
affects four things: 1) the internal name, 2) the name of the sysfs
directory, 3) the root= parameter and 4) the hotplug events for dasd
devices.

blue skies,
   Martin

Linux/390 Design & Development, IBM Deutschland Entwicklung GmbH
Schönaicherstr. 220, D-71032 Böblingen, Telefon: 49 - (0)7031 - 16-2247
E-Mail: schwidefsky@de.ibm.com




^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: Cset 1.1490.4.201 - dasd naming
@ 2004-01-29 18:27 Martin Schwidefsky
  0 siblings, 0 replies; 7+ messages in thread
From: Martin Schwidefsky @ 2004-01-29 18:27 UTC (permalink / raw)
  To: Pete Zaitcev; +Cc: laroche, linux-kernel, zaitcev

Hi Pete,

> > Is there a story of a real world deployment where the 2.4 scheme was
> > a hindrance which you could share? Honestly, I'm surprised you bring
> > the matter of "persistent names" instead of, say, exhaustion of
> > address range and majors.
> That is probably the main argument to go back to the old names. After
> udev and friends are in place it is not important how the disk is named
> internally. The only place where it would surface is on the root=
> parameter.
>
> I'll discuss this with the Horst again to see if we really need the
> dasd_<busid>_ names or if we can live with the old style names on the
> root= parameter.

We discussed udev and friends today again and we decided to go back to
the old dasdxyz names. You'll send the patch with the next update to
Andrew.

blue skies,
   Martin

Linux/390 Design & Development, IBM Deutschland Entwicklung GmbH
Schönaicherstr. 220, D-71032 Böblingen, Telefon: 49 - (0)7031 - 16-2247
E-Mail: schwidefsky@de.ibm.com



^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: Cset 1.1490.4.201 - dasd naming
@ 2004-01-28 19:10 Arnd Bergmann
  0 siblings, 0 replies; 7+ messages in thread
From: Arnd Bergmann @ 2004-01-28 19:10 UTC (permalink / raw)
  To:  Martin Schwidefsky ; +Cc: linux-kernel, Pete Zaitcev, Horst Hummel


> That is probably the main argument to go back to the old names. After
> udev and friends are in place it is not important how the disk is named
> internally. The only place where it would surface is on the root=
> parameter.

Even for root=, it probably does not matter as long as udev is used
in the initrd/initramfs. The main argument against the new naming is
that udev can trivially create these or other persistent names, while
it's very hard for udev to calculate the compatible names.

        Arnd <><

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: Cset 1.1490.4.201 - dasd naming
@ 2004-01-28 18:25 Martin Schwidefsky
  0 siblings, 0 replies; 7+ messages in thread
From: Martin Schwidefsky @ 2004-01-28 18:25 UTC (permalink / raw)
  To: Pete Zaitcev; +Cc: laroche, linux-kernel, zaitcev


Hi Pete,

> Martin, it is your architecture to break as you wish, but my gut feeling
> is that you'd never get away with this if you did it on anything using
> common use peripherals. This is a return to times of UNIX v6 and /dev/rk1a.
> The chief penguin repeatedly stated that he wanted to see /dev/diskN
> or similar (defined by a userland policy).
The idea was to get rid of the dasdxyz names which are not intuitive.

> Considering Fedora Core 2, I do not know if we have time to repair the
> damage. For the moment, I am patching a reverse patch.
Ok.

> Is there a story of a real world deployment where the 2.4 scheme was
> a hindrance which you could share? Honestly, I'm surprised you bring
> the matter of "persistent names" instead of, say, exhaustion of
> address range and majors.
That is probably the main argument to go back to the old names. After
udev and friends are in place it is not important how the disk is named
internally. The only place where it would surface is on the root=
parameter.

I'll discuss this with the Horst again to see if we really need the
dasd_<busid>_ names or if we can live with the old style names on the
root= parameter.

blue skies,
   Martin

Linux/390 Design & Development, IBM Deutschland Entwicklung GmbH
Schönaicherstr. 220, D-71032 Böblingen, Telefon: 49 - (0)7031 - 16-2247
E-Mail: schwidefsky@de.ibm.com




^ permalink raw reply	[flat|nested] 7+ messages in thread
* Cset 1.1490.4.201 - dasd naming
@ 2004-01-26 23:23 Pete Zaitcev
  0 siblings, 0 replies; 7+ messages in thread
From: Pete Zaitcev @ 2004-01-26 23:23 UTC (permalink / raw)
  To: schwidefsky; +Cc: zaitcev, laroche, linux-kernel

Hi, Martin:

In a recent changeset in Linus' tree, there's your diff which blows up
the dasd naming scheme, with the comment:
 - Change dasd names from "dasdx" to "dasd_<busid>_".

This breaks mkinitrd, nash, and mount by label (not to mention every
zipl.conf out there, because root= aliases to /sys/block/%s).
Would you please explain what exactly you were thinking when you
submitted that patch?

-- Pete

P.S. Cset
http://linux.bkbits.net:8080/linux-2.5/cset@1.1490.4.201?nav=index.html|src/|src/drivers|src/drivers/s390|src/drivers/s390/block|related/drivers/s390/block/dasd_genhd.c

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-01-29 18:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-27  8:52 Cset 1.1490.4.201 - dasd naming Martin Schwidefsky
2004-01-27  9:25 ` linux-2.6.1 x86_64 : STACK_TOP and text/data dada1
2004-01-28 18:05 ` Cset 1.1490.4.201 - dasd naming Pete Zaitcev
  -- strict thread matches above, loose matches on Subject: below --
2004-01-29 18:27 Martin Schwidefsky
2004-01-28 19:10 Arnd Bergmann
2004-01-28 18:25 Martin Schwidefsky
2004-01-26 23:23 Pete Zaitcev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome