On Sun, 2007-03-04 at 11:00 -0700, Dachepalli, Sudhir wrote: > Do you think the following could work If I used blk layer functions > instead of "scsi_execute_async": > > Blk_get_request() > Req->flags |= REQ_DONTPREP
There's additional complexity here: if the request isn't prepared, no command is allocated. You can't use the one you have because it belongs to a different device (plus it would be freed by this request in the completion path). > Blk_rq_map_kern() > Blk_execute_req_nowait() If the request is already mapped, you don't want to be mapping it again. > Blk_put_request() Without seeing the code it's hard to say definitively whether all this is correct. James - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html