←back to thread

203 points binwiederhier | 2 comments | | HN request time: 0.001s | source
Show context
dale_glass ◴[] No.45050455[source]
But what's actually happening? There seems to be a lack of technical information.

And why does the SSD allow this to happen? A SSD has its own onboard computer, it's not just allowing the OS to do whatever it wants. Obviously the OS can write way too much and reach the endurance limit but that should have been figured out almost instantly, with OS write stats and SMART stats.

replies(4): >>45050465 #>>45051002 #>>45051449 #>>45051652 #
Sesse__ ◴[] No.45051002[source]
> And why does the SSD allow this to happen? A SSD has its own onboard computer, it's not just allowing the OS to do whatever it wants.

If the device is DRAM-less, much of its central information (large parts of the FTL, in particular) resides in the host's RAM, where the OS could presumably touch it. If that area of RAM is _somehow_ being overwritten or out-of-sync or otherwise unreliable, you can get pretty bad corruption.

replies(1): >>45051145 #
dark-star ◴[] No.45051145[source]
no, the FTL is still in the SSD unless it's a host-managed SSD which is also operating in host-managed mode, which none of the articles have mentioned to be related to the issue
replies(2): >>45051569 #>>45054012 #
gruez ◴[] No.45051569[source]
No, some SSDs use host memory buffer (HMB) to cache FTL tables. If the FTL cache gets corrupted, and that causes critical data to be overwritten, that could brick the SSD. For instance, if the FTL table was corrupted in such a way where a page for a random file is mapped to the page for the SSD's FTL (or other critical data), and the OS/user tries to write to that random file.
replies(1): >>45053177 #
1. adithyassekhar ◴[] No.45053177{3}[source]
Isn't that a huge flaw?
replies(1): >>45054274 #
2. Telaneo ◴[] No.45054274[source]
Yes, which is why they're cheap(er). It's better than the alternative of using flash instead of going out to system RAM, but DRAM-less SSDs are still the cheap option; HMB is a mitigation, and not a complete fix.