bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH 05/12] linux: Reduce worst case wait to 10 seconds for disks


From: Guillem Jover
Subject: Re: [PATCH 05/12] linux: Reduce worst case wait to 10 seconds for disks
Date: Wed, 26 Oct 2022 00:24:17 +0200

Hi!

On Tue, 2022-10-25 at 10:55:56 +0000, Damien Zammit wrote:
> ---
>  linux/src/drivers/block/ide.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/linux/src/drivers/block/ide.h b/linux/src/drivers/block/ide.h
> index 28e371bf..7630be2c 100644
> --- a/linux/src/drivers/block/ide.h
> +++ b/linux/src/drivers/block/ide.h
> @@ -160,7 +160,7 @@ typedef unsigned char     byte;   /* used everywhere */
>  #define WAIT_READY   (3*HZ/100)      /* 30msec - should be instantaneous */
>  #endif /* CONFIG_APM */
>  #define WAIT_PIDENTIFY       (1*HZ)  /* 1sec   - should be less than 3ms (?) 
> */
> -#define WAIT_WORSTCASE       (30*HZ) /* 30sec  - worst case when spinning up 
> */
> +#define WAIT_WORSTCASE       (10*HZ) /* 30sec  - worst case when spinning up 
> (10s)*/

I guess the 30sec would need to be updated instead of appending 10s?

Thanks,
Guillem



reply via email to

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