summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/kernel/blk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/blk.c b/src/kernel/blk.c
index fb6a103..2d733b1 100644
--- a/src/kernel/blk.c
+++ b/src/kernel/blk.c
@@ -225,8 +225,8 @@ static int dnbd3_blk_ioctl(struct block_device *bdev, fmode_t mode, unsigned int
alt_server->best_count = 100;
} else {
for (j = 0; j < DISCOVER_HISTORY_SIZE; ++j)
- if (alt_server->rtts[j] < 5000)
- alt_server->rtts[j] = 5000;
+ if (alt_server->rtts[j] < 500000)
+ alt_server->rtts[j] = 500000;
alt_server->best_count = 0;
}
}