Setting and checking the dirty bit but still forcing it to write everything to avoid bugs