Re: [PATCH v4 12/12] blk-mq: Warn when attempting to run a hardware queue that is not mapped

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

 



On Mon, 2017-06-19 at 17:06 -0600, Jens Axboe wrote:
> On 06/19/2017 04:08 PM, Bart Van Assche wrote:
> > --- a/block/blk-mq.c
> > +++ b/block/blk-mq.c
> > @@ -1140,8 +1140,9 @@ static int blk_mq_hctx_next_cpu(struct blk_mq_hw_ctx *hctx)
> >  static void __blk_mq_delay_run_hw_queue(struct blk_mq_hw_ctx *hctx, bool async,
> >  					unsigned long msecs)
> >  {
> > -	if (unlikely(blk_mq_hctx_stopped(hctx) ||
> > -		     !blk_mq_hw_queue_mapped(hctx)))
> > +	WARN_ON_ONCE(!blk_mq_hw_queue_mapped(hctx));
> > +
> 
> 	if (WARN_ON_ONCE(!blk_mq_hw_queue_mapped(hctx)))
> 		return;

Hello Jens,

Thanks for having reviewed this patch series. I will make the requested
changes, retest and repost this patch series.

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