Re: very slow file deletion on an SSD

Eric Sandeen
2012-05-27T16:07:05Z

On 5/27/12 9:59 AM, joe.landman@gmail.com wrote:
> This is going to be a very fragmented file. I am guessing that this
> is the reason for the long duration delete. I'll do some more
> measurements before going to 3.4.x as per Eric's note.

filefrag -v should also tell you how many fragments, and because it
uses fiemap it probably won't run into the same problems.

But it sounds like we can just assume very high fragmentation.

It's not addressing the exact issue, but why are the files so fragmented?
Are they very hole-y or is it just an issue with how they are written?
Perhaps preallocation would help you here?

-Eric