-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nixos/zfs: disable redundant scheduler #250308
Conversation
I (according to the comment) wrote this somewhere and since then it has spread to many configs. https://github.com/search?q=artturin+ENV%7BID_FS_TYPE%7D%3D%3D%22zfs_member%22%2C+ATTR%7B..%2Fqueue%2Fscheduler%7D%3D%22none%22&type=code NixOS#169457 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. The scheduler bit here was for some legacy functionality which was used to largely disable the IO scheduler since ZFS has it's own (only allow front and back merges). However, this functionality was removed a while ago since it was hard to support and users were encourages just to write a udev rule is they wanted to change the default scheduler.
It does not appear to affect the need to set this rule because people are still having the issue this PR fixes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am using basically the same in my configs, so lgfm
The same person did claim that this should not be necessary anymore: openzfs/zfs#9609 (comment)
On the other hand, this doesn't appear to be always true in practice, and setting the default to |
This is part of NixOS now: NixOS/nixpkgs#250308
This is part of NixOS now: NixOS/nixpkgs#250308
This is part of NixOS now: NixOS/nixpkgs#250308
I (according to the comment) wrote this somewhere and since then it has spread to many configs.
https://github.com/search?q=artturin+ENV%7BID_FS_TYPE%7D%3D%3D%22zfs_member%22%2C+ATTR%7B..%2Fqueue%2Fscheduler%7D%3D%22none%22&type=code
#169457 (comment)
Does anybody know where I wrote it?
Description of changes
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)