Commit d0541085 authored by Avri Altman's avatar Avri Altman Committed by Alistair Delva
Browse files

FROMGIT: scsi: ufshpb: rewind the read timeout on every read

The "cold"-timer purpose is not to hang-on to active regions with no
reads.  Therefore the read-timeout should be re-wind on every read, and
not just when the region is activated.

Link: https://lore.kernel.org/r/20210808090024.21721-2-avri.altman@wdc.com


Fixes: 13c044e9 (scsi: ufs: ufshpb: Add "cold" regions timer)
(cherry picked from commit 283e61c5
git: //git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git for-next)
Signed-off-by: default avatarAvri Altman <avri.altman@wdc.com>
Change-Id: If174a161028cf2382538d69e30181cda979a12de
parent 8c2c4d12
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment