Re: 2.6.19-rc3-git7: scsi_device_unbusy: inconsistent lock state

From: Jens Axboe
Date: Mon Oct 30 2006 - 13:55:50 EST


On Mon, Oct 30 2006, Arjan van de Ven wrote:
>
> > (gdb) l *cfq_set_request+0x33e
> > 0xc021780e is in cfq_set_request (block/cfq-iosched.c:1224).
> > 1219 if (unlikely(!cfqd))
> > 1220 return;
> > 1221
> > 1222 spin_lock(cfqd->queue->queue_lock);
>
> this looks interesting... and buggy ;)
> (this is changed_ioprio() )

Yeah it is, changed_ioprio() used to be called under local_irq_save(),
but it's not anymore.

--
Jens Axboe

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/