diff options
author | Bart Van Assche <[email protected]> | 2017-08-30 16:58:40 -0700 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2017-08-31 23:07:49 -0400 |
commit | 832889f5ed45ec90c76f6eb97e64baf845929007 (patch) | |
tree | bd841e01a8b28d9000bfd2930ad74918b6100c17 /tools/perf/scripts/python/bin | |
parent | 64104f703212ff50e855bb2e2fa80d71db62c521 (diff) |
scsi: Improve requeuing behavior
Requests are unprepared and reprepared when being requeued. Avoid that
requeuing resets .jiffies_at_alloc and .retries by initializing these
two member variables from inside scsi_initialize_rq() and by preserving
both member variables when preparing a request. This patch affects the
requeuing behavior of both the legacy scsi and the scsi-mq code paths.
Reported-by: Brian King <[email protected]>
References: https://lkml.org/lkml/2017/8/18/923 ("Re: [BUG][bisected 270065e] linux-next fails to boot on powerpc")
Signed-off-by: Bart Van Assche <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Brian King <[email protected]>
Cc: Hannes Reinecke <[email protected]>
Cc: Johannes Thumshirn <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions