In case of mkfs.ext4 /dev/file path , it is showing discarding device blocks :Failed but in case of sudo mkfs.ext4 -E no discard -F /dev/file path I didn't get that "failed" prompt.
similarly in case of f2fs FS it is #mkfs.f2fs -t 1 /dev/file path =>(discard enable) -t 0 /dev/file path => (discard disable)
However, I get stuck to find command for the discard impact on different file systems such as NTFS,VFAT,FAT32,EXFAT respectively.