blob: 26cabcb846483cb127c1ee20eb0536338b0c7849 [file] [log] [blame]
# Devices with AC power only are more likely to shutdown unexpectedly (blackout,
# kick a power adapter, etc) without flushing dirty data to disk. For these
# devices, reduce the writeback/expire timeouts to 30 seconds and enable laptop
# mode, which will flush dirty data to disk after reads.
vm.dirty_expire_centisecs = 3000
vm.dirty_writeback_centisecs = 3000
vm.laptop_mode = 1