aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dlm/lowcomms.h
diff options
context:
space:
mode:
authorAlexander Aring <aahringo@redhat.com>2021-03-01 17:05:19 -0500
committerDavid Teigland <teigland@redhat.com>2021-03-09 08:56:42 -0600
commiteec054b5a7cfe6d1f1598a323b05771ee99857b5 (patch)
treee4f196cd2f1aaebd29181fa9b98e648d5ea3273c /fs/dlm/lowcomms.h
parentfs: dlm: remove unaligned memory access handling (diff)
downloadlinux-dev-eec054b5a7cfe6d1f1598a323b05771ee99857b5.tar.xz
linux-dev-eec054b5a7cfe6d1f1598a323b05771ee99857b5.zip
fs: dlm: flush swork on shutdown
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 <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/lowcomms.h')
0 files changed, 0 insertions, 0 deletions