Skip to content
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

fix for other-config: scheduler v2 #28

Open
wants to merge 1 commit into
base: 2.30.7-8.2
Choose a base branch
from

Conversation

andrey-podko
Copy link

  • fixed call diskFromPartition() from block_setscheduler: it requires path without /dev/
  • diskFromPartition() should remove trailing "p" for NVMe drives too
  • forced setup of CFQ scheduler skipped for NVMe drives, because it's unsupported

PS
My apologize for some disorder in previous version of this PR. Some unexpected troubles with gpg signature ((

- fixed call diskFromPartition() from block_setscheduler: it requires path without /dev/
- diskFromPartition() should remove trailing "p" for NVMe drives too
- forced setup of CFQ scheduler skipped for NVMe drives, because it's unsupported

Signed-off-by: Andrew Podko <podko.andrew@gmail.com>
@Wescoeur
Copy link
Member

Hello, thank you for this contribution. But you should open a PR directly in the upstream repository: https://github.com/xapi-project/sm

It's not a trivial change, so it might be good to get an opinion from the upstream maintainers, and also this change can be interesting for all XAPI users, not only XCP-ng. :)

@stormi
Copy link
Member

stormi commented Mar 15, 2023

I don't see a PR for this on https://github.com/xapi-project/sm/pulls

@andrey-podko did you create it?

@andrey-podko
Copy link
Author

@stormi unfortunately no, I didn't have enough time to figure out this repository ((

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants