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: Samuel Thibault
Subject: Re: [PATCH 05/12] linux: Reduce worst case wait to 10 seconds for disks
Date: Wed, 26 Oct 2022 00:03:19 +0200
User-agent: NeoMutt/20170609 (1.8.3)

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

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