 When properly designed, they ensure that data will not be unrecoverably corrupted if the power is lost.Operating systems and file systems do this by ensuring that data is written to a hard disk in a certain order, and rely on that in order to detect and recover from unexpected shutdowns.On the other hand, rigorously writing data to disk in the order that maximizes data integrity also impacts performance.