Re: io_request_lock patch?

Jens Axboe
2001-07-09T19:45:26Z

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