Skip to content

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 <[email protected]>
@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