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

jewel: osd: osd_internal_types: wake snaptrimmer on put_read lock, too #16015

Merged
merged 1 commit into from Aug 29, 2017

Conversation

Projects
None yet
5 participants
@asheplyakov

asheplyakov commented Jun 29, 2017

http://tracker.ceph.com/issues/19208

Unlike #13887 this PR does not shuffle the code around, instead it applies the patch to the right place (in ObjectContext code)

osd/osd_internal_types: wake snaptrimmer on put_read lock, too
The snaptrimmer can block taking a write lock, which might happen due to
a conficting EC read.  When the EC read completes, we need to wake up the
snaptrimmer.

Fixes: http://tracker.ceph.com/issues/19131
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 9931798)

Conflicts:
	src/osd/osd_internal_types.h: ObjectContext::put_lock_type() is
	  defined in src/osd/osd_types.h in Jewel, patch that file
@jdurgin

jdurgin approved these changes Jul 5, 2017

@smithfarm smithfarm changed the title from jewel: osd/osd_types: wake snaptrimmer on put_read lock, too to jewel: osd: osd_internal_types: wake snaptrimmer on put_read lock, too Jul 12, 2017

@smithfarm smithfarm merged commit ed19fdf into ceph:jewel Aug 29, 2017

3 checks passed

Signed-off-by all commits in this PR are signed
Details
Unmodified Submodules submodules for project are unmodified
Details
make check make check succeeded
Details
@smithfarm

This comment has been minimized.

Show comment
Hide comment
@smithfarm

smithfarm Aug 29, 2017

Contributor

This passed the following relevant suites:

Contributor

smithfarm commented Aug 29, 2017

This passed the following relevant suites:

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