All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Whitcroft <apw@canonical.com>
To: Alasdair Kergon <agk@redhat.com>,
	Mike Snitzer <snitzer@redhat.com>, Christoph Hellwig <hch@lst.de>,
	mohan_srinivasan@yahoo.com, dm-devel@redhat.com,
	Neil Brown <neilb@suse.com>,
	linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org,
	Tim Gardner <tim.gardner@canonical.com>
Subject: Re: reinstate dm target local ioctl support
Date: Fri, 29 Jan 2016 14:35:58 +0000	[thread overview]
Message-ID: <20160129143558.GR9864@bark> (raw)
In-Reply-To: <20160129135712.GA7201@agk-dp.fab.redhat.com>

On Fri, Jan 29, 2016 at 01:57:12PM +0000, Alasdair G Kergon wrote:
> On Thu, Jan 28, 2016 at 01:50:19PM +0000, Andy Whitcroft wrote:
> > However this also removed the possibility of a dm target having target
> > specific ioctls.  Currently this is not used by any in-tree targets but
> > was utilised by the flashcache out-of-tree module.
>  
> What data is being passed in and out?
> 
> The method we support is passing it through DM_TARGET_MSG (as text).
> For examples look at dm-switch.c and dm-stats.c, which handled
> pretty large quantities of data.
> 
> Would that work?

That sounds like it has all the bits one would need indeed.  I will
investigate that.  Thanks for the info.

-apw

      reply	other threads:[~2016-01-29 14:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-28 13:50 reinstate dm target local ioctl support Andy Whitcroft
2016-01-28 13:50 ` Andy Whitcroft
2016-01-28 14:00 ` Christoph Hellwig
2016-01-28 14:00   ` Christoph Hellwig
2016-01-29 13:55 ` [dm-devel] " Joe Thornber
2016-01-29 13:57 ` Alasdair G Kergon
2016-01-29 14:35   ` Andy Whitcroft [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=20160129143558.GR9864@bark \
    --to=apw@canonical.com \
    --cc=agk@redhat.com \
    --cc=dm-devel@redhat.com \
    --cc=hch@lst.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-raid@vger.kernel.org \
    --cc=mohan_srinivasan@yahoo.com \
    --cc=neilb@suse.com \
    --cc=snitzer@redhat.com \
    --cc=tim.gardner@canonical.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.