Alexander Aring a470cb2a06 dlm: slow down filling up processing queue
If there is a burst of message the receive worker will filling up the
processing queue but where are too slow to process dlm messages. This
patch will slow down the receiver worker to keep the buffer on the
socket layer to tell the sender to backoff. This is done by a threshold
to get the next buffers from the socket after all messages were
processed done by a flush_workqueue(). This however only occurs when we
have a message burst when we e.g. create 1 million locks. If we put more
and more new messages to process in the processqueue we will soon run out
of memory.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
2023-10-12 15:21:00 -05:00
..
2023-03-06 15:49:07 -06:00
2023-08-10 10:33:03 -05:00
2023-08-10 10:33:03 -05:00
2023-03-06 15:49:07 -06:00
2023-08-10 10:33:03 -05:00
2023-08-10 10:33:03 -05:00
2023-03-06 15:49:07 -06:00
2023-08-10 10:33:03 -05:00
2023-08-10 10:33:03 -05:00
2023-10-12 15:20:55 -05:00
2023-08-10 10:33:03 -05:00
2023-08-10 10:33:03 -05:00
2023-08-10 10:33:03 -05:00
2022-04-06 14:02:37 -05:00
2022-04-06 14:02:37 -05:00