ZFS: Difference between revisions
imported>Bitonic No edit summary |
imported>Artturin add scheduler |
||
Line 38: | Line 38: | ||
boot.initrd.supportedFilesystems = ["zfs"]; # boot from zfs | boot.initrd.supportedFilesystems = ["zfs"]; # boot from zfs | ||
boot.supportedFilesystems = [ "zfs" ]; | boot.supportedFilesystems = [ "zfs" ]; | ||
services.udev.extraRules = '' | |||
ACTION=="add|change", KERNEL=="sd[a-z]*[0-9]*|mmcblk[0-9]*p[0-9]*|nvme[0-9]*n[0-9]*p[0-9]*", ENV{ID_FS_TYPE}=="zfs_member", ATTR{../queue/scheduler}="none" | |||
''; # zfs already has its own scheduler. without this my(@Artturin) computer froze for a second when i nix build something. | |||
</syntaxhighlight> | </syntaxhighlight> | ||