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
os/bluestore: speedup the performance of multi-replication flow by switc… #11844
Conversation
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.
If this patch is merged to master, i have to change my patch #11814.
Could you let me know if the patch is merged to master, by mentioning me?
Thank you
@voidbag Sure, I will leave you a message when this pr is merged. |
@liewegas, Any more comment? |
Can you please fix your |
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.
Looks good.. please just update teh Signed-off-by line. Thanks!
@xiexingguo and Sage, thank you.I meet some issue with git, and will update the signed.-off-by asap |
git commit --amend is probably all you need to do |
@liewegas Thanks, I updated and Signed-off-by happy now :) |
Given that there's no associated issue, it would be great to have something explaining this change somewhere |
@dmick Thank you for reminding. I just added some information in the begnning of this conversation. |
@liupan1111 can you put the explanation in the git commit itself? |
switching the callback order in bluestore. In Bluestore ack callback and commit callback are queued one by one in the function "BlueStore;:_txc_finish_kv". Therefore, just only one callback is needed to call, in order to improve performance. We do this by switching the callback order in bluestore, and the callback work can be done in sub_op_modify_commit and doesn't need to do it again in sub_op_modify_applied. Signed-off-by: Pan Liu <pan.liu@istuary.com>
@liewegas It is done now. |
retest this please |
@voidbag, this PR is merged, Please update your code. Thanks. |
@liupan1111, |
…hing the callback order in bluestore.
In Bluestore ack callback and commit callback are queued one by one in the function "BlueStore;:_txc_finish_kv". Therefore, just only one callback is needed to call, in order to improve performance. We do this by switching the callback order in bluestore, and the callback work can be done in sub_op_modify_commit and doesn't need to do it again in sub_op_modify_applied.
Signed-off-by: Pan Liu pan.liu@istuary.com