AnsweredAssumed Answered

IMX6: mkfs.ext4 on emmc is delayed

Question asked by kiruthika varadarajan on Jun 4, 2015
Latest reply on Jun 11, 2015 by kiruthika varadarajan


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.??