diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index 5f95570..81005aa 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c @@ -306,6 +306,10 @@ static int scsi_req_map_sg(struct reques struct bio *bio = NULL; int i, err, nr_vecs = 0; + for (i = 0; i < nsegs; i++) + printk(KERN_INFO "sg length %u offset %u\n", sgl[i].length, + sgl[i].offset); + for (i = 0; i < nsegs; i++) { page = sgl[i].page; off = sgl[i].offset;