Hi all,
are there any plans that future versions of mkfs.btrfs will do an
initial pre-discard for SSDs? (AFAIK mkfs.btrfs does not do this
currently)
For Ext4, mke2fs does this with the -E discard option.
>From the mke2fs manpage:
-E discard
Attempt to discard blocks at mkfs time (discarding blocks initially is useful
on solid state devices and sparse / thin-provisioned storage). When the device
advertises that discard also zeroes data (any subsequent read after the discard
and before write returns zero), then mark all not-yet-zeroed inode tables as
zeroed. This significantly speeds up filesystem initialization. This is set
as default.
Best regards,
Werner
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html