Re: io_request_lock patch?

Jens Axboe (axboe@suse.de)
Mon, 9 Jul 2001 21:44:53 +0200


On Mon, Jul 09 2001, Jonathan Lahr wrote:
>
> I have heard that a patch to reduce io_request_lock contention by
> breaking it into per queue locks was released in the past. Does
> anyone know where I could find this patch if it exists?

I had a patch about a year ago that did it safely for the block layer
and IDE at least, and also for selected SCSI hba's. Some of the latter
variety are pretty hard and/or tedious to fixup, Eric Y has done some
work automating this process almost completely. Until that is done, the
general patch has no chance of being integrated.

It's also interesting to take a look at _why_ there's contention on the
io_request_lock. And fix those up first.

-- 
Jens Axboe

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