Fix: do not set quiescent state on channel destroy
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 11 Jun 2019 21:44:56 +0000 (23:44 +0200)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 11 Jun 2019 21:48:23 +0000 (23:48 +0200)
commit6c99f2794024008a52b2adac08e073cb88677771
tree9b475e7bb07284c810d9fc59a1284fc988a8cde7
parent12f7d6d2dc6a6cf41f6692a76d98f1c8bf2bbc05
Fix: do not set quiescent state on channel destroy

Setting the quiescent state to true for each stream at channel
destruction is not useful: there are no readers left anyway at
that stage.

The side-effect perceived of setting this quiescent state on
destroy is that the metadata stream ends up with an empty last
packet (due to flush_empty performed when setting the quiescent state)
which is never consumed. This shows up in the lttng-modules error
reporting.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lib/ringbuffer/ring_buffer_frontend.c
This page took 0.026166 seconds and 4 git commands to generate.