Re: [PATCH] 5/7 alloc a request_queue on each scsi_alloc_sdev call

Jens Axboe
2003-03-25T07:18:51Z

On Tue, Mar 25 2003, Christoph Hellwig wrote:
> On Mon, Mar 24, 2003 at 06:03:25PM -0800, Patrick Mansfield wrote:
> > Call scsi_alloc_queue each time we call scsi_alloc_sdev; call
> > scsi_free_queue each time we do not find backing LUN.
> >
> > This code is less optimal, but leads to cleaner code, and the lock
> > split-up patch needs this change.
>
> I think this needs to be deferred until akpm (or someone else) implemented
> the lazy request allocation.

lazy request allocation is coming shortly, hopefully today.

--
Jens Axboe