Give some indication of the CCB that's in flight when we panic.
Print the pointer to ccb so we can find it (for what good it does) as well as the type of operation in flight when the cam_path has been freed out from under us. This helps both core analysis as well as automated systems that collect panic strings but little else.
This commit is contained in:
+2
-1
@@ -5435,7 +5435,8 @@ xpt_done_process(struct ccb_hdr *ccb_h)
|
||||
|
||||
if (sim)
|
||||
devq = sim->devq;
|
||||
KASSERT(devq, ("Periph disappeared with request pending."));
|
||||
KASSERT(devq, ("Periph disappeared with CCB %p %s request pending.",
|
||||
ccb_h, xpt_action_name(ccb_h->func_code)));
|
||||
|
||||
mtx_lock(&devq->send_mtx);
|
||||
devq->send_active--;
|
||||
|
||||
Reference in New Issue
Block a user