On Mon, 2016-03-07 at 08:55 +0100, Christoph Hellwig wrote: > On Sun, Mar 06, 2016 at 01:55:15PM -0800, Nicholas A. Bellinger wrote: > > The intended use is for any make_request_fn() based driver that invokes > > bio_endio() completion directly, and sets bi_error != 0 to signal > > non GOOD status to target/iblock. > > But -EAGAIN and -ENOMEM are not valid drivers for bio_endio, Why..? > and as far as I can tell no driver every returns them. Correct, it's a new capability for make_request_fn() based drivers using target/iblock export. > So as-is this might be well intended but either useless or broken. > -- No, it useful for hosts that have an aggressive SCSI timeout, and it works as expected with Linux/SCSI hosts that either retry on BUSY status, or retry + reduce queue_depth on TASK_SET_FULL status. -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html