In IMX6 with 4GB flash when i perform
mkfs.ext4 on /dev/mmcblk0p2, its consuming lot of time and seems like hardware hangs.
I tried with the option
mkfs.ext4 -E nodiscard /dev/mmcblk0p2 and it happens very quickly
4GB ,memory support "Discard" option..
root@imx6solosabreauto:/sys/block/mmcblk0/queue# cat discard_max_bytes
Any clues on why filesystem creation without -E nodiscard consumes more time.??