Subject: Re: [dm-devel] Re: [2.6.23 PATCH 13/18] dm: netlink

From: Mike Anderson <[email-masked]>
Date: Thu, 12 Jul 2007 19:00:59 -0700

Andrew Morton <[email-masked]> wrote:
> On Thu, 12 Jul 2007 18:19:20 -0500
> Matt Mackall <[email-masked]> wrote:
> 
> > On Wed, Jul 11, 2007 at 02:27:12PM -0700, Andrew Morton wrote:
> > > On Wed, 11 Jul 2007 22:01:37 +0100
> > > Alasdair G Kergon <[email-masked]> wrote:
> > > 
> > > > From: Mike Anderson <[email-masked]>
> > > > 
> > > > This patch adds a dm-netlink skeleton support to the Makefile, and the dm
> > > > directory.
> > > > 
> > > > ...
> > > >  
> > > > +config DM_NETLINK
> > > > +	bool "DM netlink events (EXPERIMENTAL)"
> > > > +	depends on BLK_DEV_DM && EXPERIMENTAL
> > > > +	---help---
> > > > +	Generate netlink events for DM events.
> > > 
> > > Need a dependency on NET there?
> > 
> > It's really sad to make DM dependent on the network layer.
> > 
> 
> Yes, it would be somewhat sad.  However one can presumably continue to use
> DM, just without "DM netlink events".
> 

Yes, if you deselect you just do not receive the events through netlink.

> But that probably means that one will not be able to use the standard DM
> admin tools without networking.  Maybe there will remain alternative but
> cruder ways to get things done?

No, all admin tools and interfaces function as they do today. The
dm-netlink patch series only contains 9 deletions (actual just one true
deletion of existing kernel code the others are due to break up of the
patch into compilable chunks). The intent was not to break users or force
migration.

-andmike
--
Michael Anderson
[email-masked]