Thread (36 messages) 36 messages, 7 authors, 2014-06-19

Re: [PATCH] ext4: Add support for SFITRIM, an ioctl for secure FITRIM.

From: JP Abgrall <hidden>
Date: 2014-06-17 17:36:11
Also in: linux-fsdevel

On Tue, Jun 17, 2014 at 6:00 AM, Lukáš Czerner [off-list ref] wrote:
What is the difference between -o discard mount option ?
Android will not mount -o discard because of the overall penalty.
I guess
that this way you can do it selectively on certain files, but I
wonder how useful it is going to be anyway ?
For certain files only. Useful enough.

If they are ok with only best effort, then we can have FISTRIM ioctl
which would use the same internal file system functionality as
FITRIM but we would add a flag to be able to call sb_issue_discard()
with BLKDEV_DISCARD_SECURE flag,
I think this was the idea of the original patch.
disable the optimization to skip
already discarded groups and call sync on the file system before we
start doing any actuall work.
That would need adding to the original patch.
If we do this though we should not add word "security" anywhere for
the use to see :)
We can live with that.
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help