public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
* Re: MMC block discard / erase ioctl
       [not found] <CAP6JJ88G-7XXU=a+ukj=EkS-=X7F19kQ_AHfga_ApHSwEKwT=A@mail.gmail.com>
@ 2013-03-13  7:59 ` Adrian Hunter
  2013-03-13 14:53   ` Mark Deneen
       [not found]   ` <CAP6JJ8_sJiz837i_rNdtdiDE38-4qj0_LEw6ThODLqF=gCTETw@mail.gmail.com>
  0 siblings, 2 replies; 3+ messages in thread
From: Adrian Hunter @ 2013-03-13  7:59 UTC (permalink / raw)
  To: Mark Deneen; +Cc: linux-mmc

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: MMC block discard / erase ioctl
  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>
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Deneen @ 2013-03-13 14:53 UTC (permalink / raw)
  To: linux-mmc

On Wed, Mar 13, 2013 at 3:59 AM, Adrian Hunter <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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: MMC block discard / erase ioctl
       [not found]   ` <CAP6JJ8_sJiz837i_rNdtdiDE38-4qj0_LEw6ThODLqF=gCTETw@mail.gmail.com>
@ 2013-03-14  7:12     ` Adrian Hunter
  0 siblings, 0 replies; 3+ messages in thread
From: Adrian Hunter @ 2013-03-14  7:12 UTC (permalink / raw)
  To: Mark Deneen; +Cc: linux-mmc

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-14  7:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox