> 1) From the article, what can we see that Ext4/Linux actually did wrong
> here? - Is it that the TRUNCATE command should be abandoned completely, or
> was it how it matched supported/unsupported drives, or something else?

Mariano was being a jerk by assuming it is a bug in ext4 or other
code.  Bringing his biases to the table, perhaps?

The problem is simple and comes as no surprise to many:

Until quite recently, many SSD drives had bugs in their TRIM support,
probably because TRIM was underutilized by operating systems.  Even when
operating systems use TRIM, they care rather cautious, because [extremely
long explanation full of pain deleted].

So it is not Linux filesystem code.  The phase of the moon is not
linked to these problems either.

> 2) General on SSD: When an SSD starts to shrink because it starts to wear
> out, how is this handled and how does this appear to the OS, logs, and
> system software?

Invisible.  Even when a few drives make it visible in some way, it is
highly proprietary.

Reply via email to