From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alasdair G Kergon Subject: Re: reinstate dm target local ioctl support Date: Fri, 29 Jan 2016 13:57:12 +0000 Message-ID: <20160129135712.GA7201@agk-dp.fab.redhat.com> References: <1453989019-24300-1-git-send-email-apw@canonical.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1453989019-24300-1-git-send-email-apw@canonical.com> Sender: linux-raid-owner@vger.kernel.org To: Andy Whitcroft Cc: Alasdair Kergon , Mike Snitzer , Christoph Hellwig , mohan_srinivasan@yahoo.com, dm-devel@redhat.com, Neil Brown , linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org, Tim Gardner List-Id: dm-devel.ids 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