On Tue, Oct 14, 2014 at 09:06:37PM -0400, Martin K. Petersen wrote: > >>>>> "Sitsofe" == Sitsofe Wheeler <sitsofe@xxxxxxxxx> writes: > > Sitsofe> A previous patch attempted to add a quirk to workaround this > Sitsofe> but the quirk was only enabled after the features had been > Sitsofe> scanned for, wouldn't work for "small" disks > > What does that mean, exactly? It means: 1. The committed patches never worked because the running of the code to test whether the quirk should be enabled happened after the probing code the quirk would have affected ran. So roughly: bflag = 0; if (feature || bflag) { do_stuff(); } if (matching_dev) { bflag = 1; // Too late... } See https://lkml.org/lkml/2014/7/23/615 for prior details. 2. On top of the above, when a disk is "small" (has less than 2^32 sectors which is typically < 2 TBytes in size) READ CAPACITY(16) won't be triggered. If READ CAPACITY(16) isn't triggered then the lbpme bytes won't be checked, thin provisioning will never be enabled and the committed patch would doubly not work for such disks. Apologies for the delay in replying. -- Sitsofe | http://sucs.org/~sits/ -- 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