> In fact, I'd argue that even a driver that _uses_ the interface should not > necessarily shut itself down on error. Obviously, it should always log the > error, but outside of that it might be good if the operator can decide and > set a flag whether it should try to re-try (which may not always be > possible, of course), shut down, or just continue.
In lots of case, you don't have an operator smart enough to make this decision nowadays, and even if you had, for things like your SCSI adapter, you just can't expect userland to be operational. The error recovery policy should be buildable in the driver. If it's not, however, then I agree that userland intervention is probably a good idea. Note that on pSeries, we have no choice. On error, the slot is isolated. So we can't let the driver continue anyway. Ben. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/