Re: [Linux kernel bug] INFO: task hung in blk_mq_get_tag

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

 



On Mon, 13 May 2024 20:57:44 +0800 Sam Sun <samsun1006219@xxxxxxxxx>
> 
> I am happy to help testing patches. As

Thanks.

> for repro, I have a C repro available, but it is too long so that I
> attached it to the first email. Should I just paste repro with bug
> report?

Yes.

> I applied this patch and tried using the C repro, but it still crashed
> with the same task hang kernel dump log.

Oh low-hanging pear is sour, and try again seeing if there is missing
wakeup due to wake batch.

--- x/lib/sbitmap.c
+++ y/lib/sbitmap.c
@@ -579,6 +579,8 @@ void sbitmap_queue_wake_up(struct sbitma
 	unsigned int wake_batch = READ_ONCE(sbq->wake_batch);
 	unsigned int wakeups;
 
+	__sbitmap_queue_wake_up(sbq, nr);
+
 	if (!atomic_read(&sbq->ws_active))
 		return;
 
--




[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