mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	libata: Do not blacklist Micron M500DC
Queued TRIM got disabled on Micron M500DC drives thanks to the "Micron_M500*" pattern we had in place to accommodate the previous generation of this drive family. Tweak the blacklist entry slightly so we only disable queued TRIM for the non-DC variants of M500 drives. Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Cc: stable@vger.kernel.org Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
		
							parent
							
								
									d6ecf15814
								
							
						
					
					
						commit
						243918be63
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -4225,7 +4225,7 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = {
 | 
			
		|||
	{ "PIONEER DVD-RW  DVR-216D",	NULL,	ATA_HORKAGE_NOSETXFER },
 | 
			
		||||
 | 
			
		||||
	/* devices that don't properly handle queued TRIM commands */
 | 
			
		||||
	{ "Micron_M500*",		NULL,	ATA_HORKAGE_NO_NCQ_TRIM |
 | 
			
		||||
	{ "Micron_M500_*",		NULL,	ATA_HORKAGE_NO_NCQ_TRIM |
 | 
			
		||||
						ATA_HORKAGE_ZERO_AFTER_TRIM, },
 | 
			
		||||
	{ "Crucial_CT*M500*",		NULL,	ATA_HORKAGE_NO_NCQ_TRIM |
 | 
			
		||||
						ATA_HORKAGE_ZERO_AFTER_TRIM, },
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue