diff options
author | Alexander Aring <aahringo@redhat.com> | 2023-01-12 17:18:46 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2023-01-23 16:27:20 -0600 |
commit | 11605353f27c23902b6fb993a57bd2f0baaff3b6 (patch) | |
tree | 94da5c88ca4ad7164b2753bc1653d4191e38d5d8 /fs/dlm | |
parent | 317dd6ba6ccaa5e7c24039955c39df84072d5166 (diff) | |
download | linux-rpi-11605353f27c23902b6fb993a57bd2f0baaff3b6.tar.gz linux-rpi-11605353f27c23902b6fb993a57bd2f0baaff3b6.tar.bz2 linux-rpi-11605353f27c23902b6fb993a57bd2f0baaff3b6.zip |
fs: dlm: reduce the shutdown timeout to 5 secs
When a shutdown is stuck, time out after 5 seconds instead of
3 minutes. After this timeout we try a forced shutdown.
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm')
-rw-r--r-- | fs/dlm/midcomms.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/dlm/midcomms.c b/fs/dlm/midcomms.c index cf91a5a11b4f..44e29f99de4e 100644 --- a/fs/dlm/midcomms.c +++ b/fs/dlm/midcomms.c @@ -146,8 +146,8 @@ /* init value for sequence numbers for testing purpose only e.g. overflows */ #define DLM_SEQ_INIT 0 -/* 3 minutes wait to sync ending of dlm */ -#define DLM_SHUTDOWN_TIMEOUT msecs_to_jiffies(3 * 60 * 1000) +/* 5 seconds wait to sync ending of dlm */ +#define DLM_SHUTDOWN_TIMEOUT msecs_to_jiffies(5000) #define DLM_VERSION_NOT_SET 0 struct midcomms_node { |