[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 11 Nov 2020 09:42:17 -0500
From: Qian Cai <cai@...hat.com>
To: Ming Lei <ming.lei@...hat.com>,
Sumit Saxena <sumit.saxena@...adcom.com>
Cc: John Garry <john.garry@...wei.com>,
Kashyap Desai <kashyap.desai@...adcom.com>,
Jens Axboe <axboe@...nel.dk>,
"James E.J. Bottomley" <jejb@...ux.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
don.brace@...rosemi.com, Bart Van Assche <bvanassche@....org>,
dgilbert@...erlog.com, paolo.valente@...aro.org,
Hannes Reinecke <hare@...e.de>, Christoph Hellwig <hch@....de>,
linux-block@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
Linux SCSI List <linux-scsi@...r.kernel.org>,
esc.storagedev@...rosemi.com,
"PDL,MEGARAIDLINUX" <megaraidlinux.pdl@...adcom.com>,
chenxiang66@...ilicon.com, luojiaxing@...wei.com,
Hannes Reinecke <hare@...e.com>
Subject: Re: [PATCH v8 17/18] scsi: megaraid_sas: Added support for shared
host tagset for cpuhotplug
On Wed, 2020-11-11 at 17:27 +0800, Ming Lei wrote:
> Can this issue disappear by applying the following change?
This makes the system boot again as well.
>
> diff --git a/block/blk-flush.c b/block/blk-flush.c
> index e32958f0b687..b1fe6176d77f 100644
> --- a/block/blk-flush.c
> +++ b/block/blk-flush.c
> @@ -469,9 +469,6 @@ struct blk_flush_queue *blk_alloc_flush_queue(int node,
> int cmd_size,
> INIT_LIST_HEAD(&fq->flush_queue[1]);
> INIT_LIST_HEAD(&fq->flush_data_in_flight);
>
> - lockdep_register_key(&fq->key);
> - lockdep_set_class(&fq->mq_flush_lock, &fq->key);
> -
> return fq;
>
> fail_rq:
> @@ -486,7 +483,6 @@ void blk_free_flush_queue(struct blk_flush_queue *fq)
> if (!fq)
> return;
>
> - lockdep_unregister_key(&fq->key);
> kfree(fq->flush_rq);
> kfree(fq);
> }
>
>
> Thanks,
> Ming
Powered by blists - more mailing lists