1st patch breaks discarding into smaller chunks and thus make interruption and logging possible. 2nd patch writes messages about discarding process into stderr. Sample output looks like this: Discarding: 0% done Discarding: 20% done Discarding: 40% done Discarding: 60% done Discarding: 80% done Discarding is done. Pavel Reichl (2): mkfs: Break block discard into chunks of 2 GB mkfs: Show progress during block discard mkfs/xfs_mkfs.c | 40 +++++++++++++++++++++++++++++++++------- 1 file changed, 33 insertions(+), 7 deletions(-) -- 2.23.0