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

Changwei Ge ge.changwei at h3c.com
Fri Feb 23 23:23:21 PST 2018


On 2018/2/24 15:20, Joseph Qi wrote:
> 
> 
> 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.
True, it makes sense.

> 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