md: protect against crash upon fsync on ro array