The SSD controller triggers the garbage collection routines on a specific ship or block when a certain threshold of either invalid pages or written pages is met, based on the GC policy (my guess is that most SSDs use the greedy policy).
I am trying to measure the impact of some workloads on a specific SSD, I've already done the performance measurements using FIO, but i would like to go even further.
Is there a way to get notified when the Garbage Collector routine on a SSD is triggered?