diff options
author | NeilBrown <neilb@suse.de> | 2009-12-13 20:49:53 -0500 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2009-12-13 20:51:41 -0500 |
commit | 1b04be96f6910ee415287bf0d5309c7d4c94bd2b (patch) | |
tree | 9ea6dbd8e3d857c468b12d698c629786903da905 /drivers/md/raid10.c | |
parent | 42a04b5078ce73a32f85762551d5703c5bd646a1 (diff) |
md: change daemon_sleep to be in 'jiffies' rather than 'seconds'.
This removes a lot of multiplications by HZ.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/raid10.c')
-rw-r--r-- | drivers/md/raid10.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/raid10.c b/drivers/md/raid10.c index 2255e33a3ecb..064c2bb5ee63 100644 --- a/drivers/md/raid10.c +++ b/drivers/md/raid10.c | |||
@@ -2277,7 +2277,7 @@ static void raid10_quiesce(mddev_t *mddev, int state) | |||
2277 | } | 2277 | } |
2278 | if (mddev->thread) { | 2278 | if (mddev->thread) { |
2279 | if (mddev->bitmap) | 2279 | if (mddev->bitmap) |
2280 | mddev->thread->timeout = mddev->bitmap_info.daemon_sleep * HZ; | 2280 | mddev->thread->timeout = mddev->bitmap_info.daemon_sleep; |
2281 | else | 2281 | else |
2282 | mddev->thread->timeout = MAX_SCHEDULE_TIMEOUT; | 2282 | mddev->thread->timeout = MAX_SCHEDULE_TIMEOUT; |
2283 | md_wakeup_thread(mddev->thread); | 2283 | md_wakeup_thread(mddev->thread); |