dm-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Alasdair G Kergon <agk@redhat.com>
To: Andy Whitcroft <apw@canonical.com>
Cc: 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 13:57:12 +0000	[thread overview]
Message-ID: <20160129135712.GA7201@agk-dp.fab.redhat.com> (raw)
In-Reply-To: <1453989019-24300-1-git-send-email-apw@canonical.com>

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?

Alasdair


  parent reply	other threads:[~2016-01-29 13:57 UTC|newest]

Thread overview: 5+ 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 14:00 ` Christoph Hellwig
2016-01-29 13:55 ` [dm-devel] " Joe Thornber
2016-01-29 13:57 ` Alasdair G Kergon [this message]
2016-01-29 14:35   ` Andy Whitcroft

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=20160129135712.GA7201@agk-dp.fab.redhat.com \
    --to=agk@redhat.com \
    --cc=apw@canonical.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).