RE: [RFC PATCH v3 0/1] Enable power management for ufs wlun

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

 



> >
> > This patch attempts to fix a deadlock in ufs while sending SSU.
> > Recently, blk_queue_enter() added a check to not process requests if the
> > queue is suspended. That leads to a resume of the associated device which
> > is suspended. In ufs, that device is ufs device wlun and it's parent is
> > ufs_hba. This resume tries to resume ufs device wlun which in turn tries
> > to resume ufs_hba, which is already in the process of suspending, thus
> > causing a deadlock.
> >
> > This patch takes care of:
> > * Suspending the ufs device lun only after all other luns are suspended
> ufs device lun -> ufs device wlun
You might also want to consider, as a preliminary step in your series,
reverting one or more of the recent "clear uac" patches,
As you are nailing the root cause of the issues/live-lock they witnessed.

Thanks,
Avri





[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