[lkml]   [2017]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 1/2] scsi: Move scsi_cmd->jiffies_at_alloc initialization to allocation time
On Mon, Aug 21, 2017 at 05:13:20PM -0500, Brian King wrote:
> Move the initialization of scsi_cmd->jiffies_at_alloc to allocation
> time rather than prep time. Also ensure that jiffies_at_alloc
> is preserved when we go through prep. This lets us send retries
> through prep again and not break the overall retry timer logic
> in scsi_softirq_done.
> Suggested-by: Bart Van Assche <>
> Signed-off-by: Brian King <>

As far as I can tell this will never set jiffies_at_alloc for the
blk-mq path.

 \ /
  Last update: 2017-08-22 08:51    [W:0.089 / U:4.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site