From: Lars Ellenberg <lars.ellenberg@linbit.com>
To: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: bart.vanassche@gmail.com, kyle@moffetthome.net, sam@ravnborg.org,
neilb@suse.de, knikanth@suse.de, gregkh@suse.de,
linux-kernel@vger.kernel.org, philipp.reisner@linbit.com,
hch@infradead.org, Mauelshagen@RedHat.com,
James.Bottomley@suse.de, lmb@suse.de,
kosaki.motohiro@jp.fujitsu.com, jens.axboe@oracle.com,
davej@redhat.com, akpm@linux-foundation.org,
torvalds@linux-foundation.org, drbd-dev@lists.linbit.com
Subject: Re: [Drbd-dev] [GIT PULL] DRBD for 2.6.32
Date: Mon, 21 Sep 2009 16:43:08 +0200 [thread overview]
Message-ID: <20090921144308.GG8072@barkeeper1-xen.linbit> (raw)
In-Reply-To: <20090921223815U.fujita.tomonori@lab.ntt.co.jp>
On Mon, Sep 21, 2009 at 10:39:42PM +0900, FUJITA Tomonori wrote:
> > Either
> >
> > a) there's going to be a transition period during which the "old"
> > interface is supported but depreciated and scheduled to be removed (all
> > driving the new unified same back-end),
>
> We should avoid removing the existing interface. Once we merge drbd, I
> don't think that it's a good idea to remove the drbd user interface.
the drbd user interface is presented via
low level drbdsetup
and high level drbdadm (parses configuration files,
and calls out to drbdsetup).
changing (simplifying) the in-kernel configuration can be done any time,
as long as we can write a compat layer in the user land tools,
i.e. write drbdsetup so it will accept the same command line,
and try, based on "something" (sysfs file, genetlink group,
environment variable, whatever) the "new" kernel interface,
or the "old" one.
I don't see any issue here.
> I don't think so. It's much easier to implement something that
> supports fewer user interfaces.
We can choose whatever user-kernel interface you like,
and change it with every dot release --
we'd just need to add additional compat code into
the drbdsetup userland binary.
> > > BTW, DM already has something like drbd? I thought that there is a
> > > talk about that new target at LinuxCon.
> >
> > dm-replicator is nowhere near as usable as DRBD, and not upstream yet
>
> I don't think usability at this point is important. The design
> matters. dm-replicator is built on the existing framework.
>
> And my question is, if drbd and dm-replicator will provide similar
> features, then why do we need both in mainline?
dm-replicator is not there yet, and as such has zero user base.
To actually use it in the HA clustering world, quite a lot
userland glue would have to be written, which is not there yet either.
In contrast, DRBD is used in production, in many thousands of
installations worldwide since many years.
By design, dm-replicator is more comparable to dm-raid1, with the
knowledge that several mirror legs may break independently
(resulting in one "dirty log" per mirror leg), and come back
independendly, as well as the option of adding an on-disk ring-buffer to
any mirror leg.
It is by design NOT able to do dual-active mode.
If any of you happens to be at LinuxCon,
please discuss with Heinz (Maulshagen, dm-replicator)
and Phil (Reisner, DRBD), who both are present.
Heinz' talk about replicator is scheduled today, 10:30 am,
that would be a good opportunity, I guess.
> > either. (Further, it's another independent implementation, pursued
> > instead of unifying any of the existing ones or helping to merge drbd -
> > don't get me started on my thoughts of that.)
>
> Again, dm-replicator is built on the existing framework instead of
> adding another 'multiple (virtual) devices' framework into mainline.
Well, not exactly.
It adds quite a bit of additional framework (to the device mapper
subsystem), before it then starts to use that additional framework
via the generic device mapper hooks.
On that same line DRBD could argue that it uses the existing generic
block layer framework, just adding a bit functionality ;)
--
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com
DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
next prev parent reply other threads:[~2009-09-21 14:43 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-15 14:45 [Drbd-dev] [GIT PULL] DRBD for 2.6.32 Philipp Reisner
2009-09-15 23:19 ` Christoph Hellwig
2009-09-16 8:33 ` Philipp Reisner
2009-09-17 8:12 ` Lars Ellenberg
2009-09-17 16:02 ` James Bottomley
2009-09-17 16:11 ` Christoph Hellwig
2009-09-18 3:32 ` Neil Brown
2009-09-18 20:08 ` Jens Axboe
2009-09-19 5:14 ` FUJITA Tomonori
2009-09-19 22:02 ` Lars Marowsky-Bree
2009-09-19 23:56 ` Dan Williams
2009-09-21 13:39 ` FUJITA Tomonori
2009-09-21 14:43 ` Lars Ellenberg [this message]
2009-09-21 14:52 ` Arjan van de Ven
2009-09-21 16:53 ` Lars Ellenberg
2009-09-21 22:27 ` FUJITA Tomonori
2009-09-22 0:51 ` Kyle Moffett
2009-09-23 11:27 ` FUJITA Tomonori
2009-09-23 11:57 ` Christoph Hellwig
2009-09-23 14:01 ` Kyle Moffett
2009-09-23 23:21 ` FUJITA Tomonori
2009-09-22 6:20 ` Lars Marowsky-Bree
2009-09-23 11:36 ` FUJITA Tomonori
2009-09-23 23:06 ` Neil Brown
2009-09-23 23:37 ` FUJITA Tomonori
2009-09-25 5:27 ` Neil Brown
2009-09-25 9:59 ` Lars Marowsky-Bree
2009-09-21 14:55 ` Lars Ellenberg
2009-09-17 8:50 ` Lars Marowsky-Bree
2009-09-16 0:46 ` KOSAKI Motohiro
2009-09-16 9:19 ` Philipp Reisner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090921144308.GG8072@barkeeper1-xen.linbit \
--to=lars.ellenberg@linbit.com \
--cc=James.Bottomley@suse.de \
--cc=Mauelshagen@RedHat.com \
--cc=akpm@linux-foundation.org \
--cc=bart.vanassche@gmail.com \
--cc=davej@redhat.com \
--cc=drbd-dev@lists.linbit.com \
--cc=fujita.tomonori@lab.ntt.co.jp \
--cc=gregkh@suse.de \
--cc=hch@infradead.org \
--cc=jens.axboe@oracle.com \
--cc=knikanth@suse.de \
--cc=kosaki.motohiro@jp.fujitsu.com \
--cc=kyle@moffetthome.net \
--cc=linux-kernel@vger.kernel.org \
--cc=lmb@suse.de \
--cc=neilb@suse.de \
--cc=philipp.reisner@linbit.com \
--cc=sam@ravnborg.org \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox