This sounds like a good idea, but I wonder if it is worth it :
1. The tree will have very short life, because with next ioctl all
stored deleted extents will be trimmed and removed from the tree.
2. Also note, that the longer it lives the less fragmented it possibly
became.
3. I do not expect, that deleted ranges can be too fragmented, and
even if it is, it will be probably merged into one big extent very
soon.
In what I am preparing now, I simple ignore small extents, which would
be created by splitting the deleted extent into smaller pieces by chunks
of used blocks. This, in my opinion, will prevent the fragmentation,
which otherwise may occur in the longer term (between ioctl calls).
Thanks for suggestions.
-Lukas
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html