I haven't said "no" yet (and Doug and Jens haven't said anything). I did say
when the patches first surfaced that I didn't like the idea of replacing
Scsi_Device with Scsi_Path at the bottom and the concomitant changes to all
the Low Level Drivers which want to support multi-pathing. If this is to go
in the SCSI subsystem it has to be self contained, transparent and easily
isolated. That means the LLDs shouldn't have to be multipath aware.
I think we all agree:
1) that multi-path in SCSI isn't the way to go in the long term because other
devices may have a use for the infrastructure.
2) that the scsi-error handler is the big problem
3) that errors (both medium and transport) may need to be propagated
immediately up the block layer in order for multi-path to be handled
efficiently.
Although I outlined my ideas for a rework of the error handler, they got lost
in the noise of the abort vs reset debate. These are some of the salient
features that will help in this case
- no retries from the tasklet.
- Quiesce from above, not below (commands return while eh processes, so we
begin with the first error and don't have to wait for all commands to return
or error out)
- It's the object of the error handler to return all commands to the block
layer for requeue and reorder as quickly as possible. They have to be
returned with an indication from the error handler that it would like them
retried. This indication can be propagated up (although I haven't given
thought how to do that). Any commands that are sent down to probe the device
are generated from within the error handler thread (no device probing with
live commands).
What other features do you need on the eh wishlist?
James
-
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/