Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751539AbZIVBNO (ORCPT ); Mon, 21 Sep 2009 21:13:14 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751017AbZIVBNN (ORCPT ); Mon, 21 Sep 2009 21:13:13 -0400 Received: from mail-ew0-f213.google.com ([209.85.219.213]:57607 "EHLO mail-ew0-f213.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750783AbZIVBNM (ORCPT ); Mon, 21 Sep 2009 21:13:12 -0400 X-Greylist: delayed 1283 seconds by postgrey-1.27 at vger.kernel.org; Mon, 21 Sep 2009 21:13:12 EDT MIME-Version: 1.0 In-Reply-To: <20090922072617U.fujita.tomonori@lab.ntt.co.jp> References: <20090921144308.GG8072@barkeeper1-xen.linbit> <20090921165252.04e335b1@infradead.org> <20090921165321.GJ8072@barkeeper1-xen.linbit> <20090922072617U.fujita.tomonori@lab.ntt.co.jp> From: Kyle Moffett Date: Mon, 21 Sep 2009 20:51:32 -0400 Message-ID: Subject: Re: [GIT PULL] DRBD for 2.6.32 To: FUJITA Tomonori Cc: lars.ellenberg@linbit.com, arjan@infradead.org, lmb@suse.de, jens.axboe@oracle.com, neilb@suse.de, hch@infradead.org, James.Bottomley@suse.de, linux-kernel@vger.kernel.org, drbd-dev@lists.linbit.com, akpm@linux-foundation.org, bart.vanassche@gmail.com, davej@redhat.com, gregkh@suse.de, kosaki.motohiro@jp.fujitsu.com, torvalds@linux-foundation.org, nab@linux-iscsi.org, knikanth@suse.de, philipp.reisner@linbit.com, sam@ravnborg.org, Mauelshagen@redhat.com Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2674 Lines: 64 On Mon, Sep 21, 2009 at 18:27, FUJITA Tomonori wrote: > On Mon, 21 Sep 2009 18:53:21 +0200 Lars Ellenberg wrote: >> That's not what I meant, of course that is and needs to be stable. >> Sorry, I exagerated to make a point. >> >> Point was: >> mdadm configured md. >> dmsetup configured dm. >> drbdsetup configure drbd. >> >> If and when "something" is done to "unify" things on the implementation >> level, it is likely to also unify the "kernel<->userspace" configuration >> interface. >> >> 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. > > We plan to unify the multiple device frameworks, but the unified > framework must support the all existing ABIs. > > So adding another 'drbd' ABI hurts us. One major issue for me personally (and I don't think its been mentioned enough): There is a *VAST* existing user-base for DRBD. Basically every vendor builds the modules for their kernels, ships the userspace tools, etc. *Regardless* of when or how it gets merged, the existing user-base will need kernel support for the existing tools. You have to realize that this project is NOT a new one, it's been around quite a decent number of years (since kernel 2.2-ish). Yes, the ABI is unique and has its warts, but there are a lot of things that depend on it. Think of it (in concept) like merging mainline support for an architecture that has been forward-ported as patches since 2.2. If the architecture was a simple embedded-only one (like a few recent ones have been), then you might just say "hell with it, everybody needs to rebuild libc and the world". That doesn't seem to be the case with an enterprise-supported distributed block device. IMHO, we should treat the kernel<=>userspace ABI as fixed... it's an existing wart that will need to be supported for a while. The benefits of getting the stable and long-out-of-tree drbd modules into the mainline kernel will far outweigh the pain of having to maintain the existing ABI. To put it another way: Would you really keep a stable SCSI raid driver for existing hardware out of mainline by claiming they need to write a new raid-management abstraction first? If not, then why the pushback on DRBD? Cheers, Kyle Moffett -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/