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

os/bluestore: speedup the performance of multi-replication flow by switc… #11844

Merged
merged 1 commit into from Nov 14, 2016
Merged

os/bluestore: speedup the performance of multi-replication flow by switc… #11844

merged 1 commit into from Nov 14, 2016

Conversation

liupan1111
Copy link
Contributor

@liupan1111 liupan1111 commented Nov 9, 2016

…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

@liupan1111
Copy link
Contributor Author

@liewegas, I pulled a new request by following your suggestion in #11763. Please take a look. Thanks.

Copy link
Contributor

@voidbag voidbag left a 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

@liupan1111
Copy link
Contributor Author

@voidbag Sure, I will leave you a message when this pr is merged.

@liupan1111
Copy link
Contributor Author

@liewegas, Any more comment?

@xiexingguo
Copy link
Member

Can you please fix your Signed-off-by: line as follows(to make jenkins happy):
Signed-off-by: Pan Liu <pan.liu@istuary.com>

@xiexingguo xiexingguo changed the title BlueStore: speedup the performance of multi-replication flow by switc… os/bluestore: speedup the performance of multi-replication flow by switc… Nov 11, 2016
Copy link
Member

@liewegas liewegas left a 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!

@liupan1111
Copy link
Contributor Author

@xiexingguo and Sage, thank you.I meet some issue with git, and will update the signed.-off-by asap

@liewegas
Copy link
Member

git commit --amend
git push -f origin master

is probably all you need to do

@liupan1111
Copy link
Contributor Author

liupan1111 commented Nov 12, 2016

@liewegas Thanks, I updated and Signed-off-by happy now :)

@dmick
Copy link
Member

dmick commented Nov 12, 2016

Given that there's no associated issue, it would be great to have something explaining this change somewhere

@liupan1111
Copy link
Contributor Author

@dmick Thank you for reminding. I just added some information in the begnning of this conversation.

@liewegas
Copy link
Member

@liupan1111 can you put the explanation in the git commit itself?

@liewegas liewegas added this to the kraken milestone Nov 12, 2016
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>
@liupan1111
Copy link
Contributor Author

@liewegas It is done now.

@xiexingguo
Copy link
Member

retest this please

@tchaikov tchaikov merged commit ddcb4a9 into ceph:master Nov 14, 2016
@tchaikov
Copy link
Contributor

@liupan1111
Copy link
Contributor Author

@voidbag, this PR is merged, Please update your code. Thanks.

@voidbag
Copy link
Contributor

voidbag commented Nov 14, 2016

@liupan1111,
I have resolved conflicts thanks to you.
Thanks.

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