James Bottomley <James.Bottomley@xxxxxxxxxxxx> wrote: > > Is the patch below acceptable? > > Really, no. The parameter you're fishing for is a block parameter, not > a SCSI parameter ... it should really be a block ioctl if we have to > have an ioctl at all. I am afraid, you seem to missunderstand things. This parameter is not related to something you may call "block layer", it is rather related to the low level SCSI transport. If the value is stored in a higher layer, it is not stored in the layer where it belongs to. If you like to take care of clean interfaces, make sure that this parameter is moved to the right place in the code. 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