[Ocfs2-tools-devel] [PATCH] discard unused blocks before mkfs

Joseph Qi jiangqi903 at gmail.com
Fri Feb 23 23:19:46 PST 2018



On 18/2/24 12:40, Changwei Ge wrote:
> Hi Larry,
> I have some quick questions:
> 1) It seems that your patch doesn't check if the backing disk is SSD or not, is 
> that reasonable?
> 2) Why not just trim SSD before 'mkfs' performed by users? It's more 
> straightforward.
I'd like doing discard during mkfs, just like ext4 behaves.
But I suggest we give an option to allow user to skip this operation,
since discard is really heavy.
We can take some inspiration from mke2fs.

Thanks,
Joseph

> 3) Could you share some statistics telling the degree performance boosted.
> 



More information about the Ocfs2-tools-devel mailing list