>> Any ideas on what I can try to speed this up? [...] > Develop a time machine and travel back in time to persuade the > authors of the TRIM spec to make it non-blocking? Alternatively, ask your storage system supplier to certify that your storage systems supports queued TRIM (or similar primitives) end-to-end and has been tested for related bugs. It may be cheaper or easier to develop a time machine though :-).