mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-28 12:53:14 +01:00
ipmi:kcs: Reduce the number of retries
The retry count was initially set to 10, which with the 5 second timeouts give 55 seconds to fail a message. The IPMI spec specifies the 5 second timeout, and it specifies retries for KCS but does not specify a number. 55 seconds is a long time, so reduce retries to 2. It matches the default in the BT state machine. This is 15 seconds, then, which is still a long time, but more reasonable. Signed-off-by: Corey Minyard <[email protected]>
This commit is contained in:
1 parent
ab5fce87a7
commit
d08048d4e0
1 file changed
+1
-1
@@ -102,7 +102,7 @@ enum kcs_states {
|
||||
/* Timeouts in microseconds. */
|
||||
#define IBF_RETRY_TIMEOUT (5*USEC_PER_SEC)
|
||||
#define OBF_RETRY_TIMEOUT (5*USEC_PER_SEC)
|
||||
#define MAX_ERROR_RETRIES 10
|
||||
#define MAX_ERROR_RETRIES 2
|
||||
#define ERROR0_OBF_WAIT_JIFFIES (2*HZ)
|
||||
|
||||
struct si_sm_data {
|
||||
|
||||
Reference in new issue
Block a user