2009-03-03 18:04:44

by Christoph Hellwig

[permalink] [raw]
Subject: Future of md multipath

Just noticed that we still have the old md-based multipath driver
in the tree, which seem to not have gotten any attention since we
got dm multipath.

Is there any reason to keep it or should we deprecate it and kill
it after a couple of kernel releases?


2009-03-05 02:50:20

by NeilBrown

[permalink] [raw]
Subject: Re: Future of md multipath

On Tuesday March 3, [email protected] wrote:
> Just noticed that we still have the old md-based multipath driver
> in the tree, which seem to not have gotten any attention since we
> got dm multipath.
>
> Is there any reason to keep it or should we deprecate it and kill
> it after a couple of kernel releases?

I'm in favour of deprecating it. Whenever I hear of people using it I
suggest dm-multipath, but there could people I don't here about.
I think the upcoming mdadm-3.0 will need a compile-time option to
enable multipath, so people will only get it if they really really
want it.

So feel free to propose patches.

Thanks :-)

NeilBrown

2009-03-05 13:00:57

by martin f krafft

[permalink] [raw]
Subject: Re: Future of md multipath

also sprach Neil Brown <[email protected]> [2009.03.05.0349 +0100]:
> I'm in favour of deprecating it. Whenever I hear of people using it I
> suggest dm-multipath, but there could people I don't here about.
> I think the upcoming mdadm-3.0 will need a compile-time option to
> enable multipath, so people will only get it if they really really
> want it.

How do you propose a distro to deal with this? Keep it enabled for
a certain time (with a deprecation warning?) and then just to close
the doors on users who still need it?

How long will you support it after deprecation?

I understand that dm-multipath is more favourable, but unless
there's a riskless way to convert mdadm multipath into dm-multipath
on old systems, I don't think we have the option of deprecating it,
unless deprecation lasts for several years.

--
.''`. martin f. krafft <[email protected]> Related projects:
: :' : proud Debian developer http://debiansystem.info
`. `'` http://people.debian.org/~madduck http://vcs-pkg.org
`- Debian - when you have better things to do than fixing systems

"the perfect gun is an idealist without any ideal."
-- mc 900 ft jesus


Attachments:
(No filename) (1.19 kB)
digital_signature_gpg.asc (197.00 B)
Digital signature (see http://martin-krafft.net/gpg/)
Download all attachments

2009-03-06 05:32:32

by NeilBrown

[permalink] [raw]
Subject: Re: Future of md multipath

On Thursday March 5, [email protected] wrote:
> also sprach Neil Brown <[email protected]> [2009.03.05.0349 +0100]:
> > I'm in favour of deprecating it. Whenever I hear of people using it I
> > suggest dm-multipath, but there could people I don't here about.
> > I think the upcoming mdadm-3.0 will need a compile-time option to
> > enable multipath, so people will only get it if they really really
> > want it.
>
> How do you propose a distro to deal with this? Keep it enabled for
> a certain time (with a deprecation warning?) and then just to close
> the doors on users who still need it?
>
> How long will you support it after deprecation?
>
> I understand that dm-multipath is more favourable, but unless
> there's a riskless way to convert mdadm multipath into dm-multipath
> on old systems, I don't think we have the option of deprecating it,
> unless deprecation lasts for several years.

Always the practical one, aren't you :-)

I wonder how hard it would be to get mdadm to assemble a multipath
using the 'dm' code rather than the 'md' code....
Or to get the md layer in the kernel to hook in to the dm multipath
implementation.

I think it is probably worth putting in a printk now to say "You
should probably be using dm-multipath". But we probably do need to
leave the code there for a while longer..

NeilBrown

2009-03-06 16:03:00

by martin f krafft

[permalink] [raw]
Subject: Re: Future of md multipath

also sprach Neil Brown <[email protected]> [2009.03.06.0632 +0100]:
> > I understand that dm-multipath is more favourable, but unless
> > there's a riskless way to convert mdadm multipath into dm-multipath
> > on old systems, I don't think we have the option of deprecating it,
> > unless deprecation lasts for several years.
>
> Always the practical one, aren't you :-)

Goes with the territory. Debian does not need to make long term
support guarantees. They're inherent in our quality assurance,
security support, and chaotic organisation. :)

> I wonder how hard it would be to get mdadm to assemble a multipath
> using the 'dm' code rather than the 'md' code....
> Or to get the md layer in the kernel to hook in to the dm multipath
> implementation.

A migration isn't possible?

> I think it is probably worth putting in a printk now to say "You
> should probably be using dm-multipath". But we probably do need
> to leave the code there for a while longer..

Maybe it would be possible to disable creation of new multipath
arrays, but still to support existing ones, insert the warning, and
quote a fixed deprecation date, say, 5 years into the future?

--
.''`. martin f. krafft <[email protected]> Related projects:
: :' : proud Debian developer http://debiansystem.info
`. `'` http://people.debian.org/~madduck http://vcs-pkg.org
`- Debian - when you have better things to do than fixing systems

god is dead.
-- nietzsche
nietzsche is dead.
-- god
nietzsche is god.
-- dead


Attachments:
(No filename) (1.49 kB)
digital_signature_gpg.asc (197.00 B)
Digital signature (see http://martin-krafft.net/gpg/)
Download all attachments

2009-03-07 20:09:17

by Bodo Eggert

[permalink] [raw]
Subject: Re: Future of md multipath

martin f krafft <[email protected]> wrote:
> also sprach Neil Brown <[email protected]> [2009.03.05.0349 +0100]:

>> I'm in favour of deprecating it. Whenever I hear of people using it I
>> suggest dm-multipath, but there could people I don't here about.
>> I think the upcoming mdadm-3.0 will need a compile-time option to
>> enable multipath, so people will only get it if they really really
>> want it.
>
> How do you propose a distro to deal with this? Keep it enabled for
> a certain time (with a deprecation warning?) and then just to close
> the doors on users who still need it?

What about reverting the patch for their kernels until they release the
next major version, then drop it?

For users who compile their kernels, add "Deprecated" to the description,
and rename the CONFIG_.