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
Add udev rule to set readahead on mapped rbd's #10841
Conversation
Thanks! I think it should go in the udev directory right? Afterwards in debian/rules add it to the proper packages. Same goes for the RPM spec file. EDIT: Looking at it, you could also just modify udev/50-rbd.rules That is already packaged |
Can you add a comment to the rule file, clarifying that this is just a placeholder and doesn't change the kernel default? |
As suggest by @wido closing this PR and moving this into the already packaged /usr/lib/udev/50-rbd.rules |
@wido Could you just check this new commit before I do another PR |
@fiskn Thanks! However, if you check the current src directory, there is already a file. Just check src/udev in the source. You can squash all the commits and force push. No need for a new PR. |
@wido, sorry I don't understand, the udev folder was in the root of the repository and I don't see anything in the src folder relating to udev. Ok, will do that |
Looks good now! Kan you use git rebase to squash all the commits into on? Since you are only changing one file. Then do a git force push and you should be good. |
4de93b4
to
780f5a3
Compare
lgtm |
@fiskn Can you run "git commit --amend -s" to add a signed-off-by line to your commit? |
I suggested the explanatory comment, but I now think the rule itself needs to be commented out so that we can actually change the kernel default some day and also to save an unnecessary step on map (rbd map CLI waits for udev).
|
@fiskn ping |
31ac83a
to
864e2f8
Compare
@fiskn Could you please add a space between # and This and change commit title to "udev: add krbd readahead placeholder" and I'll merge? |
Signed-off-by: Nick Fisk <nick@fisk.me.uk>
Set to 128kb by default, so no change from current behaviour