Re: scsi-mq

From: Christoph Hellwig
Date: Mon Jun 23 2014 - 03:09:57 EST


On Sat, Jun 21, 2014 at 12:52:22AM +0000, Elliott, Robert (Server Storage) wrote:
> Some of those context switches might be from scsi_end_request(),
> which always schedules the scsi_requeue_run_queue() function via the
> requeue_work workqueue for scsi-mq. That causes lots of context
> switches from a busy application thread (e.g., fio) to a
> kworker thread.

Jens has been prodding me to fix this up, I'll send a patch soon that avoids
the workqueue unless we need to kick other queues and thus walk the list
of LUNs.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/