James Bottomley <James.Bottomley@xxxxxxxxxxxx> wrote: > On Tue, 2006-12-05 at 23:46 +0100, Joerg Schilling wrote: > > 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. > > The patch Alan posted is returning the max_sectors count from the block > layer, which is a block, not a SCSI parameter ... so what is it that you > actually want? Well, accept the patch if it works. And in case that you don't like it, make sure that the _parameter_ is moved to where it belongs: to the low level transport layer. 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