On 10/31/2017 01:39 AM, Hongxu Jia wrote: > Since we split the scsi_request out of struct request, while the > standard prep_rq_fn builds 10 byte cmds, it missed to invoke > scsi_req_init() to initialize certain fields of a scsi_request > structure (.__cmd[], .cmd, .cmd_len and .sense_len but no other > members of struct scsi_request). Added for 4.14, thanks. -- Jens Axboe