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

From: Mark Lord
Date: Mon Oct 30 2006 - 13:36:01 EST


And while we're at it:

(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);
1223
1224 cfqq = cic->cfqq[ASYNC];
1225 if (cfqq) {
1226 struct cfq_queue *new_cfqq;
1227 new_cfqq = cfq_get_queue(cfqd, CFQ_KEY_ASYNC, cic->ioc->task,
1228 GFP_ATOMIC);

(gdb) l *scsi_device_unbusy+0x67
0xc029ee87 is in scsi_device_unbusy (drivers/scsi/scsi_lib.c:466).
461 (shost->host_failed || shost->host_eh_scheduled)))
462 scsi_eh_wakeup(shost);
463 spin_unlock(shost->host_lock);
464 spin_lock(sdev->request_queue->queue_lock);
465 sdev->device_busy--;
466 spin_unlock_irqrestore(sdev->request_queue->queue_lock, flags);
467 }
468
469 /*
470 * Called for single_lun devices on IO completion. Clear starget_sdev_user,
-
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/