enable cache optimizations and add dynamic fsync in defconfig