public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Hunter <adrian.hunter@intel.com>
To: Mark Deneen <mdeneen@gmail.com>
Cc: linux-mmc <linux-mmc@vger.kernel.org>
Subject: Re: MMC block discard / erase ioctl
Date: Thu, 14 Mar 2013 09:12:25 +0200	[thread overview]
Message-ID: <51417859.8070600@intel.com> (raw)
In-Reply-To: <CAP6JJ8_sJiz837i_rNdtdiDE38-4qj0_LEw6ThODLqF=gCTETw@mail.gmail.com>

On 13/03/13 16:51, Mark Deneen wrote:
> On Wed, Mar 13, 2013 at 3:59 AM, Adrian Hunter <adrian.hunter@intel.com
> <mailto:adrian.hunter@intel.com>> wrote:
> 
>     On 12/03/13 18:13, Mark Deneen wrote:
>     > I assume that this never made it into mainline?  I'm looking to do
>     something
>     > similar, and I was wondering if it somehow did make it in but in a
>     different
>     > form that I'm not seeing.
> 
>     There is BLKDISCARD and BLKSECDISCARD
> 
>     Perhaps MMC_IOC_CMD could be useful too
> 
> 
> Hmm.  I tried the BLKDISCARD ioctl and received "ioctl: Operation not
> supported", so I started digging into the mmc layer to see if this ioctl was
> implemented.  I must have been looking in the wrong place.

drivers/mmc/card/block.c supports REQ_DISCARD


      parent reply	other threads:[~2013-03-14  7:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAP6JJ88G-7XXU=a+ukj=EkS-=X7F19kQ_AHfga_ApHSwEKwT=A@mail.gmail.com>
2013-03-13  7:59 ` MMC block discard / erase ioctl Adrian Hunter
2013-03-13 14:53   ` Mark Deneen
     [not found]   ` <CAP6JJ8_sJiz837i_rNdtdiDE38-4qj0_LEw6ThODLqF=gCTETw@mail.gmail.com>
2013-03-14  7:12     ` Adrian Hunter [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=51417859.8070600@intel.com \
    --to=adrian.hunter@intel.com \
    --cc=linux-mmc@vger.kernel.org \
    --cc=mdeneen@gmail.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