-
Notifications
You must be signed in to change notification settings - Fork 78
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
Update example in rs-configuration.md #492
Conversation
@@ -518,4 +518,4 @@ This option needs to be set to true when using a `btrfs` filesystem, if the appl | |||
## See Also | |||
|
|||
- [Installation](../../../quickstart-guide/installation.md) | |||
- [Deploy an Application](../replicated-pv-mayastor/rs-deployment.md) |
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.
No clue why line 521 shows a diff - nothing changed here. I edited this online with the GH editor, perhaps it changed some whitespace?
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 also not sure
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.
This is not an issue. It doesn't affect the output.
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.
Btw the best practice is not in relation to the aio, but specifically for using a /dev/disk/by-id/xxxxx
rather than /dev/sdX
or /dev/nvmeX
That being said, I think it's probably good to use a uri throughout, so lgtm
@@ -518,4 +518,4 @@ This option needs to be set to true when using a `btrfs` filesystem, if the appl | |||
## See Also | |||
|
|||
- [Installation](../../../quickstart-guide/installation.md) | |||
- [Deploy an Application](../replicated-pv-mayastor/rs-deployment.md) |
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 also not sure
👍 |
A separate “issue” is in that case that it’s not really clear if there is a preference for a aio (which I take from your answer to be the default?) or uring. Reading up on it it’s clear that there is a difference, but it’s not immediately apparent which is “best” for OpenEBS. If it’s a topic that may have very different answers depending on specific configuration, that may also be useful to say explicitly (essentially instructing users to run some benchmarks and see what works best for them on their hardware for their workload). Ideally a sensible default would be suggested in the docs. In the end I expect most people will start by copying the example (the bit that I edited), so that should preferably be the “sane default”. |
Align example with best practices - use "aio:///dev..." instead of "/dev/..." Signed-off-by: jelle <[email protected]>
That took a bit longer, family fell ill and then I forgot for a while to be honest... Signed off now tho! |
Not sure if there's a best, they are definitely different implementations and uring can yield better performance.
No worries at all, thank you for updating this and hope all is well with the family! |
Would you be able to update the main version of the documentation as well btw? |
Hi there Tiago, probably happy to help but not entirely clear what you're asking wrt "the main version"? |
Hey, sorry I should have explained. This repo is structured like this: The Making the changes on the |
Signed-off-by: jelle <[email protected]>
Clear now, thanks, and done |
Thanks @jcjveraa ! |
summary:
Align example with best practices - use "aio:///dev..." instead of "/dev/..."
Background:
In preparation of experimenting with OpenEBS on a home cluster I'm reading the docs. It seems to me that the 'best practice' in the table at the end of https://openebs.io/docs/user-guides/replicated-storage-user-guide/replicated-pv-mayastor/rs-configuration#create-diskpools does not align with the subsequent example config. The best practice apparently is to prepend the device by
aio:///
, but in the example this is not done.I don't know why the aio:/// or uring:/// is better so perhaps someone more knowledgable (e.g. the reviewer of this PR? :-) could add that to the docs.
If I understand the docs correctly, the example should be updated as I have done here. If this is wrong, the docs are unclear on this point and need some further clarification in my opinion.