> -----Original Message----- > From: linux-scsi-owner@xxxxxxxxxxxxxxx [mailto:linux-scsi- > owner@xxxxxxxxxxxxxxx] On Behalf Of Martin K. Petersen > Sent: Wednesday, 19 December, 2012 10:56 AM > To: Scott Guthridge > Cc: linux-scsi@xxxxxxxxxxxxxxx > Subject: Re: [PATCH 0/2] Change type-2 dif to use rq embedded 32 byte cdb > > >>>>> "Scott" == Scott Guthridge <guthridg@xxxxxxxxxx> writes: > > Scott, > > Scott> I don't know if the reason that "sd" went with the mempool for > Scott> 32-byte commands was binary compatibility with modules, concerns > Scott> about memory usage on small/embedded systems, or both. > > The latter. Type 2 is an edge case and we didn't want to penalize > everybody on the planet by doubling the default command size. > > > Scott> All of the SCSI drives we're seeing now come from the vendor > Scott> formatted with PI type 2. Linux automatically detects the format > Scott> and uses PI, so it's no longer a corner case -- it's now the > Scott> normal case. > > Drives don't come as Type 2 by default. You have to ask for them to be > formatted that way. All the drives we ship at Oracle are Type 1. > And all the SCSI drives we ship at HP have no DIF whatsoever. Same for all ATA drives from all companies, since DIF isn't even defined in ATA, and all USB drives (although SCSI based, the consumer market doesn't use this feature). --- Rob Elliott HP Server Storage -- 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