On 15/01/2023 at 17:01, Reindl Harald wrote:
Am 15.01.23 um 16:52 schrieb Reindl Harald: in such implementations you have to consider * re-add of devices
Not affected. Use the event count and the write-intent bitmap as usual.
* file-systems with no trim-support
Not affected. An device does not need TRIM support to know which blocks have been written and contain valid data.
* raw-device usage like for "apache trafficserver"
Not affected.
* power-outage
Same as other live metadata such as the write-intent bitmap and the event count, I guess.
* drive replacements
That's precisely a use case when a valid/discard bitmap would be useful.
god beware pass a wrong discard reuqest to the underlying device
The valid/discard bitmap would be only for internal use only and not affect TRIM/discard pass-through.
however, that's all not part of the topic "What does TRIM/discard in RAID do"
Do not pretend to be naive. I intended the topic to go to this direction from the start, and you knew where it was going when you replied.