Re: [PATCH v4 05/10] block: Serialize queue freezing and blk_pre_runtime_suspend()

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

 



On Sat, 2018-08-04 at 18:23 +-0800, Ming Lei wrote:
+AD4- From user view, it isn't reasonable to prevent runtime suspend from happening
+AD4- during queue freeze. The period can be a bit long, and it should be one perfect
+AD4- opportunity to suspend device during the period since no any IO is possible.

Hello Ming,

I will look into reducing the scope of the code that is protected by
blk+AF8-pm+AF8-runtime+AF8-lock() / blk+AF8-pm+AF8-runtime+AF8-unlock() to the code in blk+AF8-freeze+AF8-queue+AF8-start()
under +ACI-if (freeze+AF8-depth +AD0APQ- 1)+ACI-.

Bart.




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux