FreeBSD Bugzilla – Attachment 147952 Details for
Bug 194128
CTL frontend possible race, missing ccb completion
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
ctl_frontend_cam_sim patch
ctl_frontend.diff (text/plain), 762 bytes, created by
Scott M. Ferris
on 2014-10-03 23:17:01 UTC
(
hide
)
Description:
ctl_frontend_cam_sim patch
Filename:
MIME Type:
Creator:
Scott M. Ferris
Created:
2014-10-03 23:17:01 UTC
Size:
762 bytes
patch
obsolete
>diff --git i/sys/cam/ctl/ctl_frontend_cam_sim.c w/sys/cam/ctl/ctl_frontend_cam_sim.c >index 72f8dd8..4ef7bf2 100644 >--- i/sys/cam/ctl/ctl_frontend_cam_sim.c >+++ w/sys/cam/ctl/ctl_frontend_cam_sim.c >@@ -609,14 +609,16 @@ cfcs_action(struct cam_sim *sim, union ccb *ccb) > bcopy(csio->cdb_io.cdb_bytes, io->scsiio.cdb, > io->scsiio.cdb_len); > >+ ccb->ccb_h.status |= CAM_SIM_QUEUED; > err = ctl_queue(io); > if (err != CTL_RETVAL_COMPLETE) { > printf("%s: func %d: error %d returned by " > "ctl_queue()!\n", __func__, > ccb->ccb_h.func_code, err); > ctl_free_io(io); >- } else { >- ccb->ccb_h.status |= CAM_SIM_QUEUED; >+ ccb->ccb_h.status = CAM_REQ_INVALID; >+ xpt_done(ccb); >+ return; > } > break; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 194128
: 147952