Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch fixes the flushing of send work before shutdown. The function cancel_work_sync() is not the right workqueue functionality to use here as it would cancel the work if the work queues itself. In cases of EAGAIN in send() for dlm message we need to be sure that everything is send out before. The function flush_work() will ensure that every send work is be done inclusive in EAGAIN cases. Signed-off-by: Alexander Aring <[email protected]> Signed-off-by: David Teigland <[email protected]>
- Loading branch information