Skip to contentSkip to conversation

Secure Trim vs Discard & Sanitize

DISCUSSION Krishna Konda 1 participant 1 message May 22, 2015 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

The eMMC 4.5 and later specifications mention that the "Secure Erase" and "Secure Trim" operations are not meant for eMMC 4.5 and later devices but the driver still performs those operations on when block layer issues a SECDISCARD (or REQ_DISCARD|REQ_SECURE) request.

I dont know why the driver did not move to TRIM + SANITIZE or DISCARD + SANITIZE and I could not find any email discussions about this.

I have seen the patches that provide sanitize via ioctls but I am more interested if the driver should use the newer commands and should it invoke sanitize when performing a secure discard operation..

Signature · 7 lines
Thanks,
Krishna Konda
-----------------------------------------------------------------------
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
-----------------------------------------------------------------------