All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Snitzer <snitzer@redhat.com>
To: Christoph Hellwig <hch@infradead.org>
Cc: dm-devel@redhat.com, Mikulas Patocka <mpatocka@redhat.com>,
	Thomas Jaskiewicz <tomj@permabit.com>
Subject: Re: dm-bufio: move dm-bufio.h to include/linux/
Date: Thu, 8 Mar 2018 15:36:21 -0500	[thread overview]
Message-ID: <20180308203621.GA8133@redhat.com> (raw)
In-Reply-To: <20180308144955.GA23262@infradead.org>

On Thu, Mar 08 2018 at  9:49am -0500,
Christoph Hellwig <hch@infradead.org> wrote:

> On Thu, Mar 08, 2018 at 04:22:01AM -0500, Mikulas Patocka wrote:
> > This patch moves dm-bufio to include/linux/, so that external modules can
> > use it. (it is needed for the VDO team)
> 
> NAK.  That code once merged should just move to drivers/md/.

While I appreciate your interest in what constitutes a reasonable change
for DM, why are you so emphatic about disallowing out-of-tree DM modules
from using dm-bufio?

I'm assuming you feel this type of change discourages external DM
targets from pursuing upstream inclusion.  While it may be the case for
some external _GPL'd_ DM target, I really don't care about them.  I care
about DM targets that want to stabilize while preparing their code for
upstream inclusion.

The less restrictions placed on external DM target modules the more
likely they'll be "ready" for inclusion in the future.  If these
external DM targets are forced to avoid using dm-bufio, yet having a
need for the functionality so reinventing the wheel, it just creates
more problems once they do pursue upstream inclusion.

So I'll be accepting this change for 4.17 because it actually helps
encourage external DM targets to use proper interfaces while preparing
for upstream inclusion.

Mikulas: please submit a v2 of this patch that also changes dm-bufio.c's
few EXPORT_SYMBOL() symbols to EXPORT_SYMBOL_GPL().

Thanks,
Mike

  reply	other threads:[~2018-03-08 20:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-08  9:22 [PATCH] dm-bufio: move dm-bufio.h to include/linux/ Mikulas Patocka
2018-03-08 14:49 ` Christoph Hellwig
2018-03-08 20:36   ` Mike Snitzer [this message]
2018-03-12  7:48     ` Christoph Hellwig
2018-03-12 15:57       ` Mike Snitzer
2018-03-09  3:56   ` [PATCH] " Mikulas Patocka

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=20180308203621.GA8133@redhat.com \
    --to=snitzer@redhat.com \
    --cc=dm-devel@redhat.com \
    --cc=hch@infradead.org \
    --cc=mpatocka@redhat.com \
    --cc=tomj@permabit.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.