rawfile-localpv
rawfile-localpv copied to clipboard
add mkfs nodiscard option to accelerate disk formatting phase
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.