mirror of
https://github.com/kdave/btrfs-progs
synced 2025-02-08 13:47:07 +00:00
btrfs-progs: mkfs: print device name while trimming
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
f49fb67a25
commit
206ae800dd
4
utils.c
4
utils.c
@ -1869,8 +1869,8 @@ int btrfs_prepare_device(int fd, const char *file, u64 *block_count_ret,
|
||||
*/
|
||||
if (discard_range(fd, 0, 0) == 0) {
|
||||
if (opflags & PREP_DEVICE_VERBOSE)
|
||||
printf("Performing full device TRIM (%s) ...\n",
|
||||
pretty_size(block_count));
|
||||
printf("Performing full device TRIM %s (%s) ...\n",
|
||||
file, pretty_size(block_count));
|
||||
discard_blocks(fd, 0, block_count);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user