]> asedeno.scripts.mit.edu Git - linux.git/commit
dlm: Don't swamp the CPU with callbacks queued during recovery
authorBob Peterson <rpeterso@redhat.com>
Thu, 8 Nov 2018 19:04:50 +0000 (14:04 -0500)
committerDavid Teigland <teigland@redhat.com>
Thu, 8 Nov 2018 19:17:00 +0000 (13:17 -0600)
commit216f0efd19b9cc32207934fd1b87a45f2c4c593e
tree78c64859be77492003b792df6363ab931398bfa8
parent9de30f3f7f4d31037cfbb7c787e1089c1944b3a7
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>
fs/dlm/ast.c