updated fsyncmode to periodic