dyindude / ubuntu-zfs

BSD 2-Clause "Simplified" License
8 stars 4 forks source link

grub scheduler config #40

Closed dyindude closed 6 years ago

dyindude commented 6 years ago

add elevator={{ zfsprep_scheduler }} to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub

dyindude commented 6 years ago

Ubuntu defaults to cfq, while zfs will set noop when using a full disk. Since we're doing partitioning everywhere now, it'll be necessary to set this in grub

dyindude commented 6 years ago

when using LUKS, ZFS doesn't seem to set the scheduler, even when using a full disk, so I'll just add this as a variable in the template

dyindude commented 6 years ago

instead of just setting scheduler, created a var for the entire grub cmdline