Skip to content

Patching ipmitool to response more quickly if sp is not communicable. #98

@AlexanderAmelkin

Description

@AlexanderAmelkin

Reported by: Elaine Li
Original Ticket: ipmitool/bugs/507

If sp is not communicable, use this patch can reduce response time.
Test in our environment use -C 3 -R 4 -N 3

  • original: 49s
  • patch: 36s

diff -ruN ipmitool-1.8.18.orig/src/ipmishell.c ipmitool-1.8.18.new/src/ipmishell.c
--- ipmitool-1.8.18.orig/src/ipmishell.c 2016-03-13 17:57:04.000000000 +0800
+++ ipmitool-1.8.18.new/src/ipmishell.c 2018-03-01 11:18:35.923428181 +0800
@@ -233,6 +233,7 @@
printf("%s ", argv[i]);
}
printf("\n");

  • fflush(stdout);

    return 0;
    }

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions