Why?

If something is becoming so bad that it ends up waiting for that long,
there's something to fix, not to paper over it.

Damien Zammit, le mar. 25 oct. 2022 10:55:56 +0000, a ecrit:
> ---
>  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)*/
>  #define WAIT_CMD     (10*HZ) /* 10sec  - maximum wait for an IRQ to happen */
> 
>  #if defined(CONFIG_BLK_DEV_HT6560B) || defined(CONFIG_BLK_DEV_PROMISE)
> --
> 2.34.1
> 
> 
> 

-- 
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.

Reply via email to