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

rgw_file: fix up potential race condition #14553

Merged
merged 2 commits into from Apr 14, 2017

Conversation

Projects
None yet
3 participants
@guihecheng
Contributor

guihecheng commented Apr 14, 2017

  1. revert a commit that cause double lock when mkdir
  2. fix up potential race condition by adding locks

Gui Hecheng added some commits Apr 12, 2017

Gui Hecheng
Revert "rgw_file.h: fix potential data race condition"
This reverts commit 3f7b411.
Causing hung up due to double lock.

Signed-off-by: Gui Hecheng <guihecheng@cmss.chinamobile.com>
Gui Hecheng
rgw_file: add locks to fix potential race
Signed-off-by: Gui Hecheng <guihecheng@cmss.chinamobile.com>

@tchaikov tchaikov requested a review from mattbenjamin Apr 14, 2017

@tchaikov tchaikov changed the title from fix up potential race condition to rgw_file: fix up potential race condition Apr 14, 2017

@mattbenjamin

ack, thanks

@mattbenjamin mattbenjamin merged commit 260de93 into ceph:master Apr 14, 2017

3 checks passed

Signed-off-by all commits in this PR are signed
Details
Unmodifed Submodules submodules for project are unmodified
Details
default Build finished.
Details

@guihecheng guihecheng deleted the guihecheng:rgw_file-revert branch Apr 15, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment