rawfile-localpv icon indicating copy to clipboard operation
rawfile-localpv copied to clipboard

add mkfs nodiscard option to accelerate disk formatting phase

Open mchtech opened this issue 2 years ago • 0 comments

Some disk backends support discard feature to release unused blocks on underlying storage. It will take a long time to discard blocks when using mkfs to format, if large "rawfile" is created on these storages.

This patch adds -E nodiscard / -K parameter to mkfs.xxx to accelerate "rawfile" formatting phase.

mchtech avatar Dec 28 '22 09:12 mchtech