hyperv/storvsc: stash a pointer to hv_storvsc_request in ccb
A SIM-private field is used for that. The pointer can be useful when examining a state of a queued ccb. E.g., a ccb on a da_softc.pending_ccbs. MFC after: 2 weeks
This commit is contained in:
parent
82e14014a3
commit
97d8f008af
@ -1915,6 +1915,7 @@ create_storvsc_request(union ccb *ccb, struct hv_storvsc_request *reqp)
|
||||
reqp->sense_info_len = csio->sense_len;
|
||||
|
||||
reqp->ccb = ccb;
|
||||
ccb->ccb_h.spriv_ptr0 = reqp;
|
||||
|
||||
if (0 == csio->dxfer_len) {
|
||||
return (0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user