From: Mike Snitzer <snitzer@redhat.com>
To: NeilBrown <neilb@suse.com>
Cc: Andrei Borzenkov <arvidjaar@gmail.com>, dm-devel@redhat.com
Subject: Re: Autoload of DM kernel targets?
Date: Mon, 24 Apr 2017 14:53:12 -0400 [thread overview]
Message-ID: <20170424185312.GA2370@redhat.com> (raw)
In-Reply-To: <87zif6phzt.fsf@notabene.neil.brown.name>
On Mon, Apr 24 2017 at 12:05am -0400,
NeilBrown <neilb@suse.com> wrote:
> On Fri, Apr 21 2017, Andrei Borzenkov wrote:
>
> > See as example https://bugzilla.opensuse.org/show_bug.cgi?id=983221
> >
> > "non-standard" DM targets do not appear to be autoloaded (the problem
> > was hit with thin-pool, but it seems to apply to other targets as well).
> > "Common" targets (like linear) are provided by dm-mod which seems to be
> > autoloaded by virtue of /dev/mapper/control.
> >
> > Is it expected and intentional? Or are users required to manually load
> > necessary modules on boot?
> >
> > TIA
> >
> > -andrei
> >
> > --
> > dm-devel mailing list
> > dm-devel@redhat.com
> > https://www.redhat.com/mailman/listinfo/dm-devel
>
> Does this patch fix it for you?
>
> diff --git a/drivers/md/dm-thin.c b/drivers/md/dm-thin.c
> index 8f811dc8b3cc..d2c6a9a12d75 100644
> --- a/drivers/md/dm-thin.c
> +++ b/drivers/md/dm-thin.c
> @@ -4400,3 +4400,4 @@ MODULE_PARM_DESC(no_space_timeout, "Out of data space queue IO timeout in second
> MODULE_DESCRIPTION(DM_NAME " thin provisioning target");
> MODULE_AUTHOR("Joe Thornber <dm-devel@redhat.com>");
> MODULE_LICENSE("GPL");
> +MODULE_ALIAS("dm-thin-pool");
>
> NeilBrown
The module is named "dm-thin-pool.ko", so I'm not following why that
patch would help.
prev parent reply other threads:[~2017-04-24 18:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-21 3:45 Autoload of DM kernel targets? Andrei Borzenkov
2017-04-24 4:05 ` NeilBrown
2017-04-24 17:32 ` Andrei Borzenkov
2017-04-24 18:53 ` Mike Snitzer [this message]
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=20170424185312.GA2370@redhat.com \
--to=snitzer@redhat.com \
--cc=arvidjaar@gmail.com \
--cc=dm-devel@redhat.com \
--cc=neilb@suse.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.