On Mon, Dec 16, 2013 at 10:58:31AM -0800, Nicholas A. Bellinger wrote: > Sectors is what EVPD=0xb0 reports and sbc_parse_cdb() enforces for > backends. But it's obviously not what backends care about, given that fileio has a byte size limit, and the others haven no limit at all. Just store the byte limit, divide that by the block size where you currently use the sector count, and get rid of the stupid method. -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html