mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-07 09:00:28 +00:00
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:
parent
db4493f7b6
commit
7defd7582e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=358966
|
@ -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--;
|
||||
|
|
Loading…
Reference in a new issue