We were plugging a queue that was about to be freed during scsi scan.
This is fixed in bk8, here is a snippit of part of the patch to scsi_lib.c
that fixed the problem, or look at the end of scsi_prep_fn, (plus the
corresponding call to blk_plug_device was removed from scsi_request_fn):
+ defer:
+ /* If we defer, the elv_next_request() returns NULL, but the
+ * queue must be restarted, so we plug here if no returning
+ * command will automatically do that. */
+ if (sdev->device_busy == 0)
+ blk_plug_device(q);
+ return BLKPREP_DEFER;
+}
-- Patrick Mansfield
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/