RE: [EXT] [PATCH v1 1/5] scsi: ufs: Recheck bkops level if bkops is disabled
From: Bean Huo (beanhuo)
Date: Wed Nov 13 2019 - 16:35:57 EST
> Subject: [EXT] [PATCH v1 1/5] scsi: ufs: Recheck bkops level if bkops is disabled
>
> From: Asutosh Das <asutoshd@xxxxxxxxxxxxxx>
>
> Bkops level should be rechecked upon receiving an exception.
> Currently the bkops level is being cached and never updated.
>
Yes, this makes sense, once receiving a bkops exception, we should recheck its level.
Because device side has changed its status.
> Update the same each time the level is checked.
> Also do not use the cached bkops level value if it is disabled and then enabled.
>
should use current level.
> Signed-off-by: Asutosh Das <asutoshd@xxxxxxxxxxxxxx>
> Signed-off-by: Can Guo <cang@xxxxxxxxxxxxxx>
Reviewed-by: Bean Huo <beanhuo@xxxxxxxxxx>