Re: [PATCH] scsi-misc-2.5 remove scsi_device list_lock

Jens Axboe
2003-04-25T17:08:33Z

On Fri, Apr 25 2003, Patrick Mansfield wrote:
> On Fri, Apr 25, 2003 at 12:47:46PM +0200, Jens Axboe wrote:
>
> > Again... Besides, this alias _must_ only be used by the block layer.
> > Every other driver should use the real one.
>
> So we should never use queue_lock in the scsi code?

Basically, no. The only place where it _might_ be appropriate, is the
entry points from the block layer where it is already held (for
clarity). That's basically scsi_request_fn only.

--
Jens Axboe