Re: [PATCH V3 4/6] blk-mq: move cancel of hctx->run_work into blk_mq_hw_sysfs_release

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

 



On Wed, 2019-04-03 at 18:26 +-0800, Ming Lei wrote:
+AD4 hctx is always released after requeue is freed.
+AD4 
+AD4 With holding queue's kobject refcount, it is safe for driver to run queue,
+AD4 so one run queue might be scheduled after blk+AF8-sync+AF8-queue() is done.
+AD4 
+AD4 So moving the cancel of hctx-+AD4-run+AF8-work into blk+AF8-mq+AF8-hw+AF8-sysfs+AF8-release()
+AD4 for avoiding run released queue.

Reviewed-by: Bart Van Assche +ADw-bvanassche+AEA-acm.org+AD4





[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