On Fri, 9 Sep 2022 07:40:00 -0700 Jonmichael Hands <jm@xxxxxxxx> wrote: > Deterministic read zero after TRIM is standardized and can be reported by > device. If the device supports these bits, they will always return zero > after discard. Point is that some/many devices do not report this capability properly, but actually do read back zeroes after TRIM. Relying on the reporting alone would exclude a lot of cases where the optimization could have been used. So it is useful to verify the observed behavior and still allow the optimization in those cases. -- With respect, Roman