Re: MMC block discard / erase ioctl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 13/03/13 16:51, Mark Deneen wrote:
> On Wed, Mar 13, 2013 at 3:59 AM, Adrian Hunter <adrian.hunter@xxxxxxxxx
> <mailto:adrian.hunter@xxxxxxxxx>> 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

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux