On Tue, Apr 29, 2014 at 11:30:35AM +0200, Maurizio Lombardi wrote: > If I convert submit_rtpg() to make use of scsi_execute() then I'll not be > able to read the updated sense buffer. > > scsi_execute() accepts a pointer to the sense buffer as parameter, but > it does not update its content in case blk_execute_rq() returns an error. What kind of update do you want? All the sense buffer updates are done in the low-level code, and then you could update anything additional you would need in the caller as you get the whole sense buffer when using scsi_execute() (for scsi_execute_req_flags it's harder due to the normalized sense buffer). -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html