> Well, I guess the problem is that : scsi layer does not know whether the
> hba driver will do its own locking and release io_request_lock or not.
> Before calling any entry point, scsi layer is anyway acquires
> io_request_lock.
> Also, if you are depending on the io_request_lock, then in the interrupt
> handler you are supposed to acquired the io_request_lock and
> release it before returning. So, when the hba driver calls the done
routine,
> the io_request_lock is already locked and doing it again in the done()
will
> freeze the system.
>
> -hiren

Nice reasoning. Now it's clear to me. Thanks.
(I am hoping for 2.5 where this locking will change.)


Mit freundlichen Grüßen / with kind regards

Martin Peschke


IBM Deutschland Entwicklung GmbH
GNU/Linux for S/390 and zSeries Development
Phone: +49-(0)7031-16-2349

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]

Reply via email to