We currently use thread local storage for storing blkmap allocations from one inode to another as a way of reducing the number of short term allocations we do. However, the stored allocations can onl
But not unreasonable for a filesystem full of torrents ;) Perhaps we should look at the talloc code from ccan? Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx
We currently use thread local storage for storing blkmap allocations from one inode to another as a way of reducing the number of short term allocations we do. However, the stored allocations can onl
I'm just wondering if it's still the right memory / overhead tradeoff at that point. I'm not sure the interface is compatible enough with the kernel style allocator we use in libxfs. Except for that
Looks reasonable. Reviewed-by: Christoph Hellwig <hch@xxxxxx> Although as said my gut feeling is that the cutoff should be lower. We'd probably need measurements to decide where to go.