Re: split scsi passthrough fields out of struct request

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2017-01-23 at 16:29 +0100, Christoph Hellwig wrote:
> this series splits the support for SCSI passthrough commands from the
> main struct request.

Hello Christoph,

Sorry that I have not yet had the time to review these patches. But I
cloned git://git.infradead.org/users/hch/block.git, checked out the
block-pc-refactor branch, merged it with v4.10-rc5 and installed it on
a development server. Unfortunately a kernel oops occurred during boot
(see also the attached screenshot). gdb translates the crash address
into the following:

$ gdb vmlinux
(gdb) list *('__scsi_execute.isra.19'+0x13c)
0xffffffff814a690c is in __scsi_execute (drivers/scsi/scsi_lib.c:260).
255                      memset(buffer + (bufflen - rq->resid_len), 0, rq->resid_len);
256
257             if (resid)
258                     *resid = rq->resid_len;
259             if (rq->sense_len)
260                     memcpy(sense, rq->sense, SCSI_SENSE_BUFFERSIZE);
261             ret = req->errors;
262      out:
263             blk_put_request(req);
264

Bart.

Attachment: scsi-passthrough-fields.png
Description: scsi-passthrough-fields.png


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux