]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: reduce op thread heartbeat default 30 -> 15 seconds
authorSage Weil <sage@inktank.com>
Wed, 23 Jan 2013 01:53:40 +0000 (17:53 -0800)
committerSamuel Just <sam.just@inktank.com>
Sat, 26 Jan 2013 01:21:48 +0000 (17:21 -0800)
If the thread stalls for 15 seconds, let our internal heartbeat fail.
This will let us internally respond more quickly to a stalled or failing
disk.

Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit 61eafffc3242357d9add48be9308222085536898)

src/common/config_opts.h

index 18b54d2631c1514a7cc467a6188b7d7df39b82f8..d72a2c49e73caa7da2cff6f0a9fc75904dcdbe15 100644 (file)
@@ -321,7 +321,7 @@ OPTION(osd_recovery_threads, OPT_INT, 1)
 OPTION(osd_recover_clone_overlap, OPT_BOOL, true)   // preserve clone_overlap during recovery/migration
 OPTION(osd_backfill_scan_min, OPT_INT, 64)
 OPTION(osd_backfill_scan_max, OPT_INT, 512)
-OPTION(osd_op_thread_timeout, OPT_INT, 30)
+OPTION(osd_op_thread_timeout, OPT_INT, 15)
 OPTION(osd_recovery_thread_timeout, OPT_INT, 30)
 OPTION(osd_snap_trim_thread_timeout, OPT_INT, 60*60*1)
 OPTION(osd_scrub_thread_timeout, OPT_INT, 60)