Re: [ANNOUNCE] megaraid 2.00.6 patch for kernels without hostlock

Jens Axboe
2003-07-31T09:05:56Z

On Wed, Jul 30 2003, Bagalkote, Sreenivas wrote:
> Please apply this patch to megaraid 2.00.6 driver for kernels that don't
> support per host lock. This can be found at :
>
> ftp://ftp.lsil.com/pub/linux-megaraid/drivers/version-2.00.6/

It's easily possible to keep the impact of maintaining a driver across
such kernels a lot smaller, by simply using the same lock in the
spin_lock calls and just assign that lock to adapter->lock or
io_request_lock depending on the kernel.

--
Jens Axboe