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

osd/ECBackend: Send write message to peers first, then do local write #12522

Merged
merged 1 commit into from Dec 29, 2016

Conversation

hjwsm1989
Copy link
Contributor

Like ReplicatedBackend did, this will improve write performance.

Signed-off-by: huangjun hjwsm1989@gmail.com

  Like ReplicatedBackend did, this will improve write performance.

  Signed-off-by: huangjun <hjwsm1989@gmail.com>
@hjwsm1989
Copy link
Contributor Author

as discussed in #11888

@hjwsm1989
Copy link
Contributor Author

@athanatos please review it

@athanatos
Copy link
Contributor

I'm really not convinced that this makes a difference. The local write and message sends here are async.

@athanatos
Copy link
Contributor

Please reopen if there is evidence that it makes a difference.

@athanatos athanatos closed this Dec 19, 2016
@liewegas
Copy link
Member

With bluestore a non-trivial amount of work is now happening in queue_transaction (everything but io). Is there a downside to doing this? It can't hurt

@athanatos athanatos reopened this Dec 19, 2016
@athanatos
Copy link
Contributor

Ok, that's a valid reason!

@hjwsm1989
Copy link
Contributor Author

did the failed test related to this PR?

@liewegas
Copy link
Member

retest this please

@liewegas liewegas changed the title osd/ECBackend: Send write message to peers first, then do local write osd/ECBackend: Send write message to peers first, then do local write Dec 29, 2016
@liewegas liewegas merged commit 2c05a96 into ceph:master Dec 29, 2016
@hjwsm1989 hjwsm1989 deleted the ecwrite branch December 30, 2016 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants