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? James - 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