We have two segments limitations. Previously st made its own scatterlists that got sent to LLDs so it could ignore max_phys_segments. Signed-off-by: Mike Christie <michaelc@xxxxxxxxxxx> diff --git a/drivers/scsi/st.c b/drivers/scsi/st.c index 2d8592d..5e61e48 100644 --- a/drivers/scsi/st.c +++ b/drivers/scsi/st.c @@ -3889,7 +3889,8 @@ static int st_probe(struct device *dev) return -ENODEV; } - i = SDp->host->sg_tablesize; + i = min(SDp->request_queue->max_hw_segments, + SDp->request_queue->max_phys_segments); if (st_max_sg_segs < i) i = st_max_sg_segs; buffer = new_tape_buffer(1, (SDp->host)->unchecked_isa_dma, i); - : 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