linux/fs/dlm
Alexander Aring ecd9567314 fs: dlm: avoid comms shutdown delay in release_lockspace
When dlm_release_lockspace does active shutdown on connections to
other nodes, the active shutdown will wait for any exisitng passive
shutdowns to be resolved.  But, the sequence of operations during
dlm_release_lockspace can prevent the normal resolution of passive
shutdowns (processed normally by way of lockspace recovery.)
This disruption of passive shutdown handling can cause the active
shutdown to wait for a full timeout period, delaying the completion
of dlm_release_lockspace.

To fix this, make dlm_release_lockspace resolve existing passive
shutdowns (by calling dlm_clear_members earlier), before it does
active shutdowns.  The active shutdowns will not find any passive
shutdowns to wait for, and will not be delayed.

Reported-by: Chris Mackowski <cmackows@redhat.com>
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
2021-09-01 11:29:14 -05:00
..
ast.c
ast.h
config.c fs: dlm: rename socket and app buffer defines 2021-06-02 11:53:04 -05:00
config.h fs: dlm: rename socket and app buffer defines 2021-06-02 11:53:04 -05:00
debug_fs.c fs: dlm: add midcomms debugfs functionality 2021-05-25 09:22:20 -05:00
dir.c fs: dlm: fix return -EINTR on recovery stopped 2021-08-19 11:33:03 -05:00
dir.h
dlm_internal.h fs: dlm: fix typo in tlv prefix 2021-07-19 11:53:43 -05:00
Kconfig fs: dlm: make connection hash lockless 2020-08-27 15:59:09 -05:00
lock.c fs: dlm: add union in dlm header for lockspace id 2021-05-25 09:22:20 -05:00
lock.h
lockspace.c fs: dlm: avoid comms shutdown delay in release_lockspace 2021-09-01 11:29:14 -05:00
lockspace.h
lowcomms.c fs: dlm: implement delayed ack handling 2021-08-19 11:33:03 -05:00
lowcomms.h fs: dlm: implement delayed ack handling 2021-08-19 11:33:03 -05:00
lvb_table.h
main.c
Makefile
member.c fs: dlm: fix return -EINTR on recovery stopped 2021-08-19 11:33:03 -05:00
member.h
memory.c
memory.h
midcomms.c fs: dlm: implement delayed ack handling 2021-08-19 11:33:03 -05:00
midcomms.h fs: dlm: add midcomms debugfs functionality 2021-05-25 09:22:20 -05:00
netlink.c genetlink: move to smaller ops wherever possible 2020-10-02 19:11:11 -07:00
plock.c
rcom.c fs: dlm: cleanup and remove _send_rcom 2021-07-19 11:53:43 -05:00
rcom.h
recover.c
recover.h
recoverd.c fs: dlm: fix return -EINTR on recovery stopped 2021-08-19 11:33:03 -05:00
recoverd.h
requestqueue.c
requestqueue.h
user.c dlm: user: Replace zero-length array with flexible-array member 2020-05-12 14:06:15 -05:00
user.h
util.c fs: dlm: add union in dlm header for lockspace id 2021-05-25 09:22:20 -05:00
util.h fs: dlm: public header in out utility 2021-05-25 09:22:20 -05:00