Re: [PATCH] ufs: fix deadlock for the case of pm shutdown during suspend transition to resume

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

 



On Tue, 2025-03-11 at 16:42 +0800, qiwu.chen wrote:
> There is a deadlock when triggers pm shutdown during suspend-to-idle
> state transition
> to resume. Here are the issue reproduce steps:
> 
> 

Hi Qiwu,

It's incorrect to directly call kernel_power_off due to low battery. 
This is encountered during ufs resume, indicating that there are 
still IO operations to be performed. Before kernel_power_off, 
it should be ensured that the file system has been unmounted and 
no more IO will send to UFS. Otherwise, if IO continues to send to 
UFS after UFS shutdown, unexpected errors will also occur."

Thanks.
Peter





[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