mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2024-12-21 13:15:00 -05:00
drop discard for swapfile
This doesn't quite work as intended since the reserved file space is dropped and it results in fragmentation.
This commit is contained in:
parent
ef3d3f35e1
commit
e2c73f3c6d
2
crypttab
2
crypttab
@ -1 +1 @@
|
||||
swap /swapfile /dev/random swap,cipher=aes-xts-plain64,size=512,sector-size=4096,no-read-workqueue,no-write-workqueue,discard
|
||||
swap /swapfile /dev/random swap,cipher=aes-xts-plain64,size=512,sector-size=4096,no-read-workqueue,no-write-workqueue
|
||||
|
2
fstab
2
fstab
@ -1,2 +1,2 @@
|
||||
/dev/mapper/swap none swap discard=once 0 0
|
||||
/dev/mapper/swap none swap defaults 0 0
|
||||
tmpfs /etc/nginx/session-ticket-keys tmpfs size=1M,mode=700,noswap,x-systemd.before=nginx-create-session-ticket-keys.service,x-systemd.required-by=nginx-create-session-ticket-keys.service 0 0
|
||||
|
Loading…
Reference in New Issue
Block a user