[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <19132.21708.867658.970822@notabene.brown>
Date: Fri, 25 Sep 2009 15:27:40 +1000
From: Neil Brown <neilb@...e.de>
To: FUJITA Tomonori <fujita.tomonori@....ntt.co.jp>
Cc: lmb@...e.de, lars.ellenberg@...bit.com, arjan@...radead.org,
jens.axboe@...cle.com, hch@...radead.org, James.Bottomley@...e.de,
linux-kernel@...r.kernel.org, drbd-dev@...ts.linbit.com,
akpm@...ux-foundation.org, bart.vanassche@...il.com,
davej@...hat.com, gregkh@...e.de, kosaki.motohiro@...fujitsu.com,
kyle@...fetthome.net, torvalds@...ux-foundation.org,
nab@...ux-iscsi.org, knikanth@...e.de, philipp.reisner@...bit.com,
sam@...nborg.org, Mauelshagen@...hat.com
Subject: Re: [GIT PULL] DRBD for 2.6.32
On Thursday September 24, fujita.tomonori@....ntt.co.jp wrote:
> On Thu, 24 Sep 2009 09:06:15 +1000
> Neil Brown <neilb@...e.de> wrote:
>
> > On Wednesday September 23, fujita.tomonori@....ntt.co.jp wrote:
> > > On Tue, 22 Sep 2009 08:20:34 +0200
> > > Lars Marowsky-Bree <lmb@...e.de> wrote:
> > >
> > > > On 2009-09-22T07:27:21, FUJITA Tomonori <fujita.tomonori@....ntt.co.jp> wrote:
> > > >
> > > > > > If it happens, once that happens, that _will_ be an ABI break.
> > > > >
> > > > > You misunderstand the raid unification.
> > > > >
> > > > > We will not unify the kernel<->userspace configuration interface
> > > > > because we can't break the kernel<->userspace ABI.
> > > >
> > > > I disagree here. Who says we can't over time, and with due notice?
> > > >
> > > > For sure, the new ABI needs to co-exist with the old ones for a while,
> > > > until it is proven and fully complete, but then, why can't the old one
> > > > be marked as depreciated and phased out over 1-2 years time?
> > >
> > > Let me know If you find a Linux storage developer who say, "Yeah, we
> > > can remove the md ABI over 1-2 years time after the raid unification".
> >
> > I would have said 3-5 years, that being about the time frame for
> > enterprise releases, and it would be best if every enterprise vendor
>
> Enterprise vendors don't pick up the latest kernel. So I think that we
> need more.
I don't really follow your logic, but that isn't important. I think
that we need to be open to deprecating old ABIs, particularly when the
ABI is largely used by just one or two programs or libraries. This is
the case for md/dm/drbd and similar devices.
>
>
> > got to have a release that supported both the old and the new
> > interface. But I don't have a problem with migrating to a better ABI
> > is we actually had a better ABI.
> > >
> > > Seems that you have a very different idea from other kernel developers
> > > about the stable ABI.
> >
> > CONFIG_SYSFS_DEPRECATED_V2 seems to suggest that other kernel
> > developers understand that we sometimes make mistakes and need to
> > deprecate them.
>
> Yeah, however, we can try not to make mistakes.
In this case the mistakes are already made. The main mistake was
that there was no credible model to follow for managing a virtual
block device. There is still no generally good model to follow so
that mistake hasn't been fixed.
Merging perfectly working and widely used code, so that it will be
easier for the community to maintain, to learn from, and to help
improve is not a mistake.
Had the implementers deliberately ignored the established practice in
the kernel for doing things you might have a case. But there was no
established practice to follow or to ignore.
>
>
> > However I think this is all very premature as there is even a coherent
> > proposal for what unification might look like, let alone broad
> > agreement or implementation. I would *much* rather we spent our
> > energies debating that than debating whether or not DRBD should get
> > merged.... Maybe would should only accept votes on "Should DRBD get
> > merged" from people provide constructive input to the question "what
> > would a unified virtual block device model look like".
> >
> > >
> > > Improving the existing framework is a proper approach.
> >
> > Yes. So let's do it.
>
> So we should implement something like drbd on the top of dm framework,
> one of the existing 'virtual device' frameworks. That would improve dm
> and we could get better ideas about "what would a unified virtual
> block device model look like".
dm is not an appropriate framework. It is a walled garden that
follows its own rules rather than being consistent with the rest of
the kernel.
The clearest example is that individual drivers in dm don't present
block devices, they present dm-targets. dm-targets do not fit in to
the device model and are not visible in sysfs.
NeilBrown
--
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