diff options
author | Bob Peterson <rpeterso@redhat.com> | 2018-11-08 14:04:50 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2018-11-08 13:17:00 -0600 |
commit | 216f0efd19b9cc32207934fd1b87a45f2c4c593e (patch) | |
tree | 78c64859be77492003b792df6363ab931398bfa8 /lib/timerqueue.c | |
parent | 9de30f3f7f4d31037cfbb7c787e1089c1944b3a7 (diff) | |
download | linux-216f0efd19b9cc32207934fd1b87a45f2c4c593e.tar.bz2 |
dlm: Don't swamp the CPU with callbacks queued during recovery
Before this patch, recovery would cause all callbacks to be delayed,
put on a queue, and afterward they were all queued to the callback
work queue. This patch does the same thing, but occasionally takes
a break after 25 of them so it won't swamp the CPU at the expense
of other RT processes like corosync.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions