On 07/19/2011 05:06 PM, David Brown wrote:
It certainly sounds like a safe procedure, but I can see why you feel it's not quite as elegant as it could be. You will also be "discarding" blocks that have never been written (at least, not since the last discard...) - is there much overhead in that?
Luckily the SSDs we use do not require significant time to process a discard on areas that were already free - e.g. discarding ~ 250G of SSD space that is already empty this way takes only ~ 10 seconds. Regards, Lutz Vieweg -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html