Re: [PATCHv2] blk-mq: use quiesced elevator switch when reinitializing queues

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

 



On Tue, 27 Sep 2022 08:56:52 -0700, Keith Busch wrote:
> From: Keith Busch <kbusch@xxxxxxxxxx>
> 
> The hctx's run_work may be racing with the elevator switch when
> reinitializing hardware queues. The queue is merely frozen in this
> context, but that only prevents requests from allocating and doesn't
> stop the hctx work from running. The work may get an elevator pointer
> that's being torn down, and can result in use-after-free errors and
> kernel panics (example below). Use the quiesced elevator switch instead,
> and make the previous one static since it is now only used locally.
> 
> [...]

Applied, thanks!

[1/1] blk-mq: use quiesced elevator switch when reinitializing queues
      commit: 8237c01f1696bc53c470493bf1fe092a107648a6

Best regards,
-- 
Jens Axboe





[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