This is an automated email from the git hooks/post-receive script.
teigland pushed a commit to branch master in repository sanlock.
commit 58281a950e91cf0bdb5e93f019358905a84a0012 Author: David Teigland teigland@redhat.com AuthorDate: Tue Mar 19 11:14:24 2024 -0500
sanlock: fix zero io timeout for direct requests --- src/direct.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/src/direct.c b/src/direct.c index 73861a2..f70dc19 100644 --- a/src/direct.c +++ b/src/direct.c @@ -135,6 +135,8 @@ static int do_paxos_action(int action, struct task *task, int io_timeout, struct
if (!io_timeout) io_timeout = com.io_timeout; + if (!io_timeout) + io_timeout = DEFAULT_IO_TIMEOUT;
rv = sizes_from_flags(res->flags, §or_size, &align_size, &max_hosts, "RES"); if (rv)
sanlock-devel@lists.fedorahosted.org