Re: [PATCH] nvme: add cond_resched() to nvme_complete_batch()

From: Christoph Hellwig
Date: Wed May 03 2023 - 12:08:01 EST


On Tue, May 02, 2023 at 08:54:12PM +0800, jiweisun126@xxxxxxx wrote:
> From: Jiwei Sun <sunjw10@xxxxxxxxxx>
>
> A soft lockup issue will be triggered when do fio test on a 448-core
> server, such as the following warning:

nvme_complete_batch can be called from irq context, so I don't think
a cond_resched is a good idea here.