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

From: Mike Anderson
Date: Thu Jul 12 2007 - 22:01:22 EST


Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
> On Thu, 12 Jul 2007 18:19:20 -0500
> Matt Mackall <mpm@xxxxxxxxxxx> 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 <agk@xxxxxxxxxx> wrote:
> > >
> > > > From: Mike Anderson <andmike@xxxxxxxxxx>
> > > >
> > > > 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
andmike@xxxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/