]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: use onreadable_sync finishers to drop ondisk locks
authorSage Weil <sage@newdream.net>
Fri, 26 Feb 2010 20:30:07 +0000 (12:30 -0800)
committerSage Weil <sage@newdream.net>
Fri, 26 Feb 2010 21:14:33 +0000 (13:14 -0800)
commita64caec1ee6ab0b4d93af25ef87f0017f07caa64
tree5716372fdd2b740867ba322a311f2fedcbacd6d8
parent429a9ef071582b047a6980051a5db770e44c0710
osd: use onreadable_sync finishers to drop ondisk locks

This fixes a deadlock where we are holding pg->lock, block
waiting for the ondisk lock, but the unlock completion is stuck
behind something else waiting on pg->lock in the finisher queue.
src/osd/ReplicatedPG.cc
src/osd/ReplicatedPG.h