Commit 9ec67418 authored by Bart Van Assche's avatar Bart Van Assche Committed by Bart Van Assche
Browse files

BACKPORT: UPSTREAM: scsi: ufs: Track system suspend / resume activity



Add a new boolean variable that tracks whether the system is suspending,
suspended or resuming. This information will be used in a later commit to
fix a deadlock between the SCSI error handler and the suspend code.

Reviewed-by: default avatarAdrian Hunter <adrian.hunter@intel.com>
Change-Id: Ida8b4e67460db2546314361456c6b0aba1a7a7a0
Signed-off-by: default avatarBart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20221018202958.1902564-9-bvanassche@acm.org


Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
Bug: 269124154
(cherry picked from commit 1a547cbc)
[ bvanassche: changed a member variable into a static variable with file scope ]
Signed-off-by: default avatarBart Van Assche <bvanassche@google.com>
parent 30a63d4a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment