commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 20/61: libdiskfs: set the default sync interval to 30 seconds


From: Samuel Thibault
Subject: [hurd] 20/61: libdiskfs: set the default sync interval to 30 seconds
Date: Tue, 27 May 2014 08:32:10 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit 80a50c59331faf268947f97ca702cb9a1d9881cd
Author: Justus Winter <address@hidden>
Date:   Sat Apr 26 13:16:23 2014 +0200

    libdiskfs: set the default sync interval to 30 seconds
    
    The default sync interval has been changed in 9e55fdd7 from 30 to 5
    seconds.  This change was not reflected in the documentation.
    
    At least for current hardware, using 30 seconds instead of just 5
    alleviates the thread-storm problem.  Make 30 seconds the default
    again.
    
    * libdiskfs/priv.h (DEFAULT_SYNC_INTERVAL): Set to 30 seconds.
---
 libdiskfs/priv.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libdiskfs/priv.h b/libdiskfs/priv.h
index 4363a00..2ac3c9e 100644
--- a/libdiskfs/priv.h
+++ b/libdiskfs/priv.h
@@ -63,7 +63,7 @@ extern const struct argp_option diskfs_common_options[];
 #define OPT_INHERIT_DIR_GROUP          604     /* --inherit-dir-group */
 
 /* Common value for diskfs_common_options and diskfs_default_sync_interval. */
-#define DEFAULT_SYNC_INTERVAL 5
+#define DEFAULT_SYNC_INTERVAL 30
 #define DEFAULT_SYNC_INTERVAL_STRING STRINGIFY(DEFAULT_SYNC_INTERVAL)
 #define STRINGIFY(x) STRINGIFY_1(x)
 #define STRINGIFY_1(x) #x

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]