esp_vfs_fat_mount_config_t::disk_status_check_enable field
Enables real ff_disk_status function implementation for SD cards (ff_sdmmc_status). Possibly slows down IO performance. Try to enable if you need to handle situations when SD cards are not unmounted properly before physical removal or you are experiencing issues with SD cards. Doesn't do anything for other memory storage media.