Changeset View
Changeset View
Standalone View
Standalone View
sys/cam/scsi/scsi_da.c
Show First 20 Lines • Show All 3,451 Lines • ▼ Show 20 Lines | case BIO_ZONE: { | ||||
} | } | ||||
break; | break; | ||||
} | } | ||||
default: | default: | ||||
biofinish(bp, NULL, EOPNOTSUPP); | biofinish(bp, NULL, EOPNOTSUPP); | ||||
xpt_release_ccb(start_ccb); | xpt_release_ccb(start_ccb); | ||||
return; | return; | ||||
} | } | ||||
if (cam_enable_prio) { | |||||
if (bp->bio_flags & BIO_LOWPRIO) | |||||
start_ccb->csio.priority = 15; | |||||
else | |||||
start_ccb->csio.priority = 1; | |||||
} | |||||
start_ccb->ccb_h.ccb_state = DA_CCB_BUFFER_IO; | start_ccb->ccb_h.ccb_state = DA_CCB_BUFFER_IO; | ||||
start_ccb->ccb_h.flags |= CAM_UNLOCKED; | start_ccb->ccb_h.flags |= CAM_UNLOCKED; | ||||
start_ccb->ccb_h.softtimeout = sbttotv(da_default_softtimeout); | start_ccb->ccb_h.softtimeout = sbttotv(da_default_softtimeout); | ||||
out: | out: | ||||
LIST_INSERT_HEAD(&softc->pending_ccbs, | LIST_INSERT_HEAD(&softc->pending_ccbs, | ||||
&start_ccb->ccb_h, periph_links.le); | &start_ccb->ccb_h, periph_links.le); | ||||
▲ Show 20 Lines • Show All 3,172 Lines • Show Last 20 Lines |