Douglas Gilbert <dgilbert@xxxxxxxxxxxx> wrote: > BTW Joerg: SG_SET_RESERVED_SIZE simply makes it extremely > unlikely that the sg driver will not be able to fetch > enough memory from the kernel to move data associated with > a SCSI command. The block layer SG_IO just fudges that. > While a major concern in lk 2.0, memory starvation is typically > not a major concern in lk 2.6 assuming modern hardware. > The sg driver's reserved buffer has other uses as > FUJITA Tomonori pointed out yesterday on the linux-scsi list. If it is documented, no problem. The information I had said that SG_SET_RESERVED_SIZE would be limited in case that the HW does not allow bigger sizes. Let us try out whether the proposed interface works as expected. Jörg -- EMail:joerg@xxxxxxxxxxxxxxxxxxxxxxxxxxx (home) Jörg Schilling D-13353 Berlin js@xxxxxxxxxxxxxxx (uni) schilling@xxxxxxxxxxxxxxxxxxx (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily - 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