[Bug 228359] rebuild gmirror + ufs + ssd +trim

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue May 22 23:32:49 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228359

--- Comment #17 from Kirk McKusick <mckusick at FreeBSD.org> ---
I just looked at the implementation of the fsck_ffs -E option and it is already
aggregating the free blocks into the largest trim blocks that it is able to
create. It would be interesting to try running fsck_ffs with the -E and -d
options (-d is causes debug output including a listing of the size and location
of every trim command). On an empty filesystem it should yield one trim per
cylinder group which is close to the size of the cylinder group (typically
about 500Mb). I don't have a unused SSD to try this out on, but I am curious if
one of you can try this experiment.

Unless I am misreading the code, I think that we are doing the best that we
can.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-fs mailing list