Re: [PATCH 13/14] scsi: add support for a blk-mq based I/O path.

From: Christoph Hellwig
Date: Tue Aug 19 2014 - 12:06:34 EST


On Tue, Aug 19, 2014 at 03:51:42AM +0530, Kashyap Desai wrote:
> I read this comment and find that very few drivers are using this
> cmd_list. I think if we remove this cmd_list, performance will scale as I
> am seeing major contention in this lock.
> Just thought to ping you to see if this is known limitation for now or any
> plan to change this lock in near future ?

Removing the lock entirely and pushing the list into the two drivers
using it is on my TODO list. Bart actually suggested keeping the code in the
SCSI core and having a flag to enabled. Given that I'm too busy to get my full
version done in time, it might be a good idea if someone picks up Barts
idea. Can you send me a patch to add a enable_cmd_list flag to the host
template and only enable it for aacraid and dpt_i2o?

--
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/