Decrease poll interval from 1000 to 100us. This significantly reduces
kernel dump time, especially with minidump.
This commit is contained in:
parent
0615d5c148
commit
b91310c282
@ -2914,7 +2914,7 @@ xpt_polled_action(union ccb *start_ccb)
|
||||
struct cam_ed *dev;
|
||||
|
||||
|
||||
timeout = start_ccb->ccb_h.timeout;
|
||||
timeout = start_ccb->ccb_h.timeout * 10;
|
||||
sim = start_ccb->ccb_h.path->bus->sim;
|
||||
devq = sim->devq;
|
||||
dev = start_ccb->ccb_h.path->device;
|
||||
@ -2930,7 +2930,7 @@ xpt_polled_action(union ccb *start_ccb)
|
||||
|
||||
while(((devq != NULL && devq->send_openings <= 0) ||
|
||||
dev->ccbq.dev_openings < 0) && (--timeout > 0)) {
|
||||
DELAY(1000);
|
||||
DELAY(100);
|
||||
(*(sim->sim_poll))(sim);
|
||||
camisr_runqueue(&sim->sim_doneq);
|
||||
}
|
||||
@ -2946,7 +2946,7 @@ xpt_polled_action(union ccb *start_ccb)
|
||||
if ((start_ccb->ccb_h.status & CAM_STATUS_MASK)
|
||||
!= CAM_REQ_INPROG)
|
||||
break;
|
||||
DELAY(1000);
|
||||
DELAY(100);
|
||||
}
|
||||
if (timeout == 0) {
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user