# 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 |