Re: [PATCH v3 8/8] scsi: ufs: Fix a deadlock between PM and the SCSI error handler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2022-09-29 at 15:00 -0700, Bart Van Assche wrote:
> +       ufshcd_link_recovery(hba);
> +       dev_info(hba->dev, "%s() finished; outstanding_tasks =
> %#lx.\n",
> +                __func__, hba->outstanding_tasks);
> +
> +       return hba->outstanding_tasks ? SCSI_EH_RESET_TIMER :
> SCSI_EH_DONE;

Bart,

you have reset the device and host,  in the case, there are pending
TMs, Should be cleared locally, just like ufshcd_err_handler() does?

Kind regards,
Bean




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux