On Sun, May 21, 2017 at 08:45:23AM +0200, Christoph Hellwig wrote: > On Fri, May 19, 2017 at 11:30:09AM -0700, Bart Van Assche wrote: > > Move the initializations that only have to be performed once and > > not every time a request is prepared from scsi_init_command() > > into scsi_initialize_rq(). This patch also moves the > > jiffies_at_alloc assignment such that it gets back the meaning it > > had before commit e9c787e65c0c, namely the value of the jiffies > > counter at request allocation time. > > How does this account for the kmalloced request in scsi_ioctl_reset()? Oh, because that currently manually calls blk_rq_init..