Message ID | 54EB35EF.2050103@zahlenfresser.de |
---|---|
State | Not Applicable |
Delegated to: | David Miller |
Headers | show |
>>>>> "Stefan" == Stefan Keller <linux-list@zahlenfresser.de> writes:
Stefan> Hello list, I recently updated the firmware on my Samsung 850
Stefan> Pro from EXM01B6Q to EXM02B6Q. Now "fstrim -v /" causes SATA
Stefan> command timeouts related to TRIM with NCQ.
Do these timeouts happen if you disable ALPM?
Hello Martin, On 02/24/2015 07:36 PM, Martin K. Petersen wrote: >>>>>> "Stefan" == Stefan Keller <linux-list@zahlenfresser.de> writes: > > Stefan> Hello list, I recently updated the firmware on my Samsung 850 > Stefan> Pro from EXM01B6Q to EXM02B6Q. Now "fstrim -v /" causes SATA > Stefan> command timeouts related to TRIM with NCQ. > > Do these timeouts happen if you disable ALPM? Yes. cat /sys/class/scsi_host/host*/link_power_management_policy max_performance max_performance max_performance max_performance max_performance max_performance Still timeouts (actually I think when I initially got them I was connected to power, which in my setup means ALPM disabled). Also the timeouts only happen with TRIM, not with any other heavy I/O. Best regards, Stefan
>>>>> "Stefan" == Stefan Keller <linux-list@zahlenfresser.de> writes: Stefan> Hello list, I recently updated the firmware on my Samsung 850 Stefan> Pro from EXM01B6Q to EXM02B6Q. Now "fstrim -v /" causes SATA Stefan> command timeouts related to TRIM with NCQ. >> >> Do these timeouts happen if you disable ALPM? Stefan> Yes. Bummer. The only good data point we have wrt. queued TRIM problems is that things only appear to fail when ALPM is enabled. Things are working fine for me on all the systems in the lab, however, and I have never been able to reproduce any of the issues reported. I don't have any 850 drives but will try to get one. For now we should blacklist queued trim on those.
hello Stefan ,,,My name is Dimitrios,. I have problem with the new firmware of Samsung 850 pro. As hundreds other users my ssd is dead after the firmware update. I tried everything under Linux as gparted, secure erase with dd tool and hdparm. seems that remains locked nad get errors all the time...have you any idea to unlockit??? it would help many of us with dead ssd's. thanks in advance! friendly Dimitrios from Athens Greece -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Martin K. Petersen <martin.petersen <at> oracle.com> writes: > > >>>>> "Stefan" == Stefan Keller <linux-list <at> zahlenfresser.de> writes: > > Stefan> Hello list, I recently updated the firmware on my Samsung 850 > Stefan> Pro from EXM01B6Q to EXM02B6Q. Now "fstrim -v /" causes SATA > Stefan> command timeouts related to TRIM with NCQ. > >> > >> Do these timeouts happen if you disable ALPM? > > Stefan> Yes. > > Bummer. The only good data point we have wrt. queued TRIM problems is > that things only appear to fail when ALPM is enabled. Things are working > fine for me on all the systems in the lab, however, and I have never > been able to reproduce any of the issues reported. > > I don't have any 850 drives but will try to get one. For now we should > blacklist queued trim on those. > Another data point: I have the same problem, but on a 256 pro. Same firmware (EXM02B6Q from factory), with ALPM disabled. Regards, Simon -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index 485f7ea..1167bc9 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c @@ -6508,6 +6508,8 @@ static int __init ata_parse_force_one(char **cur, { "rstonce", .lflags = ATA_LFLAG_RST_ONCE }, { "atapi_dmadir", .horkage_on = ATA_HORKAGE_ATAPI_DMADIR }, { "disable", .horkage_on = ATA_HORKAGE_DISABLE }, + { "noqtrim", .horkage_on = ATA_HORKAGE_NO_NCQ_TRIM }, + { "qtrim", .horkage_off = ATA_HORKAGE_NO_NCQ_TRIM }, }; char *start = *cur, *p = *cur; char *id, *val, *endp;