ctdb-mutex: Change default re-check time for fcntl helper to 5s
authorMartin Schwenke <martin@meltin.net>
Fri, 10 Jan 2020 03:25:39 +0000 (14:25 +1100)
committerAmitay Isaacs <amitay@samba.org>
Tue, 21 Jan 2020 11:39:40 +0000 (11:39 +0000)
Testing against a commonly used cluster filesystem has shown no
performance impact, as expected.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/server/ctdb_mutex_fcntl_helper.c

index 1448a9062a015fb9bcf4721f0c1dd14e59710e3e..51c46ce733fec0f2b6aa5448d7de0af0a9ef89e1 100644 (file)
@@ -398,7 +398,7 @@ int main(int argc, char *argv[])
 
        file = argv[1];
 
-       recheck_time = 60;
+       recheck_time = 5;
        if (argc == 3) {
                recheck_time = smb_strtoul(argv[2],
                                           NULL,