, it would be really bad if the drive applied trim
after the block had been re-allocated for a write. It would also be
really bad if the drive loses unrelated data if there is a power fail
during trim.
If writes get blocked by a pending trim, then trim would not help
very much.
Bob
--
Bob
is supposed to do any such clean-ups.
The new code likely does things like search for and reclaim leaked
space. Older zfs versions had some some bugs which could result in
failing to reclaim space after a large file is deleted.
Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http