Re: [PATCH 1/2] scsi: Move scsi_cmd->jiffies_at_alloc initialization to allocation time

From
hch@lst.de <hch@lst.de>
Date
2017-08-22 06:51:07
Also in
linux-next, linux-scsi, lkml
Reply to
Brian King, 2017-08-21
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 <redacted>
Signed-off-by: Brian King <redacted>
As far as I can tell this will never set jiffies_at_alloc for the
blk-mq path.
Thread (20 messages) 20 messages, 5 authors, last reply 2017-08-22
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help