Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #267878

Re: SOLVED Re: Disk corruption and performance issue.

From Tim Woodall <debianuser@woodall.me.uk>
Newsgroups linux.debian.user
Subject Re: SOLVED Re: Disk corruption and performance issue.
Date 2024-02-27 05:40 +0100
Message-ID <IbXq1-cUbl-5@gated-at.bofh.it> (permalink)
References <HYmoh-4obw-3@gated-at.bofh.it> <HYqUV-4qX4-3@gated-at.bofh.it> <HYDyN-4yGn-7@gated-at.bofh.it> <IbNTH-cOi1-5@gated-at.bofh.it> <IbSTo-cRkM-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, 26 Feb 2024, Andy Smith wrote:

> Hi,
>
> On Mon, Feb 26, 2024 at 06:25:53PM +0000, Tim Woodall wrote:
>> Feb 17 17:01:49 xen17 vmunix: [    3.802581] ata1.00: disabling queued TRIM support
>> Feb 17 17:01:49 xen17 vmunix: [    3.805074] ata1.00: disabling queued TRIM support
>>
>>
>> from libata-core.c
>>
>>  { "Samsung SSD 870*",  NULL, ATA_HORKAGE_NO_NCQ_TRIM |
>>       ATA_HORKAGE_ZERO_AFTER_TRIM |
>>       ATA_HORKAGE_NO_NCQ_ON_ATI },
>>
>> This fixed the disk corruption errors at the cost of dramatically
>> reducing performance. (I'm not sure why because manual fstrim didn't
>> improve things)
>
> That's interesting. I have quite a few of these drives and haven't
> noticed any problems. What kernel version introduced the above
> workarounds?
>
> $ sudo lsblk -do NAME,MODEL
> NAME MODEL
> sda  SAMSUNG_MZ7KM1T9HAJM-00005
> sdb  SAMSUNG_MZ7KM1T9HAJM-00005
> sdc  Samsung_SSD_870_EVO_4TB
> sdd  Samsung_SSD_870_EVO_4TB
> sde  ST4000LM016-1N2170
> sdf  ST4000LM016-1N2170
> sdg  SuperMicro_SSD
> sdh  SuperMicro_SSD
>
> Thanks,
> Andy
>
>
Looks like the fix was brand new around sept 2021
https://www.neowin.net/news/linux-patch-disables-trim-and-ncq-on-samsung-860870-ssds-in-intel-and-amd-systems/

I was still seeing corruption in August 2022 but it's possible the fix
wasn't backported to whatever release I was running.

Tim.

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Disk corruption and performance issue. Tim Woodall <debianuser@woodall.me.uk> - 2024-01-20 17:30 +0100
  Re: Disk corruption and performance issue. David Christensen <dpchrist@holgerdanske.com> - 2024-01-20 22:20 +0100
    Re: Disk corruption and performance issue. Tim Woodall <debianuser@woodall.me.uk> - 2024-01-21 11:50 +0100
      Re: Disk corruption and performance issue. gene heskett <gheskett@shentel.net> - 2024-01-21 19:00 +0100
      Re: Disk corruption and performance issue. David Christensen <dpchrist@holgerdanske.com> - 2024-01-22 00:10 +0100
      SOLVED Re: Disk corruption and performance issue. Tim Woodall <debianuser@woodall.me.uk> - 2024-02-26 19:30 +0100
        Re: SOLVED Re: Disk corruption and performance issue. Gremlin <scott-andrews@columbus.rr.com> - 2024-02-26 20:10 +0100
          Re: SOLVED Re: Disk corruption and performance issue. Tim Woodall <debianuser@woodall.me.uk> - 2024-02-26 20:50 +0100
            Re: SOLVED Re: Disk corruption and performance issue. Gremlin <scott-andrews@columbus.rr.com> - 2024-02-26 22:00 +0100
              Re: SOLVED Re: Disk corruption and performance issue. Tim Woodall <debianuser@woodall.me.uk> - 2024-02-26 22:40 +0100
                Re: SOLVED Re: Disk corruption and performance issue. Gremlin <scott-andrews@columbus.rr.com> - 2024-02-26 22:50 +0100
              Re: SOLVED Re: Disk corruption and performance issue. Stefan Monnier <monnier@iro.umontreal.ca> - 2024-02-26 22:50 +0100
        Re: SOLVED Re: Disk corruption and performance issue. Andy Smith <andy@strugglers.net> - 2024-02-27 00:50 +0100
          Re: SOLVED Re: Disk corruption and performance issue. Tim Woodall <debianuser@woodall.me.uk> - 2024-02-27 05:40 +0100

csiph-web