Re: [PATCH 11/18] scsi: Move most of scsi_init_command() into scsi_initialize_rq()

2017-05-21 Thread Christoph Hellwig
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

Re: [PATCH 11/18] scsi: Move most of scsi_init_command() into scsi_initialize_rq()

2017-05-21 Thread Christoph Hellwig
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

Re: [PATCH 11/18] scsi: Move most of scsi_init_command() into scsi_initialize_rq()

2017-05-21 Thread Christoph Hellwig
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

[PATCH 11/18] scsi: Move most of scsi_init_command() into scsi_initialize_rq()

2017-05-19 Thread Bart Van Assche
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