mirror of
https://github.com/ceph/ceph
synced 2025-01-20 10:01:45 +00:00
Merge pull request #6048 from XinzeChi/wip-filestore-qlock
filestore: fix peek_queue for OpSequencer Reviewed-by: Sage Weil <sage@redhat.com>
This commit is contained in:
commit
892a2adeb5
@ -263,6 +263,7 @@ private:
|
||||
q.push_back(o);
|
||||
}
|
||||
Op *peek_queue() {
|
||||
Mutex::Locker l(qlock);
|
||||
assert(apply_lock.is_locked());
|
||||
return q.front();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user