Fix: kernel consumer: signal metadata ready condition variable
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 30 Apr 2021 14:44:44 +0000 (10:44 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 30 Apr 2021 23:04:51 +0000 (19:04 -0400)
commit091441eb540f7fe6cf23658d232cbec7a385f867
treefe6b75601dd016eac119ceba89f4bde005f3d548
parent741e787bf03338ec74a1df3621c5bde4b13c4e17
Fix: kernel consumer: signal metadata ready condition variable

The behaviour of the kernel consumer does not match that of the user
space consumer. When a live metadata stream goes back to "sleep", it
must broadcast on the metadata_rdv to wake-up any thread that is
performing a metadata sync.

This mismatch causes a hang in the kernel consumer during the kernel
clear tests.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ief15fc2b7c92582ea36bf64d185720e48d2c94d5
src/common/kernel-consumer/kernel-consumer.c
This page took 0.028539 seconds and 4 git commands to generate.