All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Bryn M. Reeves" <bmr@redhat.com>
To: device-mapper development <dm-devel@redhat.com>
Cc: John Utz <John.Utz@wdc.com>
Subject: Re: creating a dm-linear.ko in a current kernel.
Date: Tue, 25 Feb 2014 10:53:16 +0000	[thread overview]
Message-ID: <530C761C.5010809@redhat.com> (raw)
In-Reply-To: <8A51900D08212F40B3DE22453052F6980B97CFA3@wdscexmb02>

On 02/24/2014 10:44 PM, John Utz wrote:
> Solved my own issue methinks, the name of the module that i am
> finding in drivers/md/ is linear.ko, not dm-linear.ko. that was

That's the MD linear personality not the device-mapper linear target. It
allows you to build JBOD (concatentation) arrays using the MD RAID
subsystem.

> unexpected. i note further that there are other non 'dm- decorated'
> lkms in md as well, such as multipath, faulty, raid0, etc.

These are also MD personalities.

> is there an implication associated with things decorated with dm- vs
> things not decorated with dm- in the md directory?

The device-mapper targets all have a dm-* prefix (there are other files
in drivers/md with names beginning with 'dm', e.g. dm.c, dm-table.c but
those are part of the device-mapper core).

The dm-linear target is always built into the core dm-mod - see the
Makefile rules in drivers/md/Makefile for details. The device-mapper
bits are right at the top.

Regards,
Bryn.

  reply	other threads:[~2014-02-25 10:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-24 22:01 creating a dm-linear.ko in a current kernel John Utz
2014-02-24 22:44 ` John Utz
2014-02-25 10:53   ` Bryn M. Reeves [this message]
2014-02-25 16:23     ` John Utz
  -- strict thread matches above, loose matches on Subject: below --
2014-02-25 21:48 johnstra10

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=530C761C.5010809@redhat.com \
    --to=bmr@redhat.com \
    --cc=John.Utz@wdc.com \
    --cc=dm-devel@redhat.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.