mirror of
https://github.com/ceph/ceph
synced 2024-12-28 22:43:29 +00:00
Merge pull request #11520 from dillaman/wip-17590
journal: do not prematurely flag object recorder as closed
This commit is contained in:
commit
e5bed548e8
@ -173,7 +173,7 @@ bool ObjectRecorder::close() {
|
|||||||
|
|
||||||
assert(!m_object_closed);
|
assert(!m_object_closed);
|
||||||
m_object_closed = true;
|
m_object_closed = true;
|
||||||
return m_in_flight_tids.empty() && !m_aio_scheduled;
|
return (m_in_flight_tids.empty() && !m_in_flight_flushes && !m_aio_scheduled);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ObjectRecorder::handle_append_task() {
|
void ObjectRecorder::handle_append_task() {
|
||||||
|
Loading…
Reference in New Issue
Block a user