mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-16 06:52:27 +00:00
ada/da: Borrow comment from nda about cleanup
Remove a XXX comment and replace it with a more accurate comment about what happens to I/O queued to the hardware. Sponsored by: Netflix
This commit is contained in:
parent
48ae3f4f64
commit
b43cfe7171
|
@ -1240,9 +1240,10 @@ adaoninvalidate(struct cam_periph *periph)
|
|||
#endif
|
||||
|
||||
/*
|
||||
* Return all queued I/O with ENXIO.
|
||||
* XXX Handle any transactions queued to the card
|
||||
* with XPT_ABORT_CCB.
|
||||
* Return all queued I/O with ENXIO. Transactions may be queued up here
|
||||
* for retry (since we are called while there's other transactions
|
||||
* pending). Any requests in the hardware will drain before ndacleanup
|
||||
* is called.
|
||||
*/
|
||||
cam_iosched_flush(softc->cam_iosched, NULL, ENXIO);
|
||||
|
||||
|
|
|
@ -2055,9 +2055,10 @@ daoninvalidate(struct cam_periph *periph)
|
|||
#endif
|
||||
|
||||
/*
|
||||
* Return all queued I/O with ENXIO.
|
||||
* XXX Handle any transactions queued to the card
|
||||
* with XPT_ABORT_CCB.
|
||||
* Return all queued I/O with ENXIO. Transactions may be queued up here
|
||||
* for retry (since we are called while there's other transactions
|
||||
* pending). Any requests in the hardware will drain before dacleanup
|
||||
* is called.
|
||||
*/
|
||||
cam_iosched_flush(softc->cam_iosched, NULL, ENXIO);
|
||||
|
||||
|
|
Loading…
Reference in a new issue