On Tue, Apr 14, 2020 at 09:34:04AM +0800, Qu Wenruo wrote: > This member can be fetched from eb::fs_info, and no caller really > depends on that member to determine if an eb is dummy. We have eb::flags > to determine that. > > Kernel doesn't have such member either. > > Signed-off-by: Qu Wenruo <wqu@xxxxxxxx> Added to devel, thanks. > NOTE: Another candidate to cleanup is eb::cache_node, in kernel we use > radix tree, thus no need for any structure in eb. > > But in btrfs-progs, we also rely on extent_io_tree to do cache size > limitation, and for U-boot there is no radix tree implemented yet. > > Thus eb::cache_node may live for a longer time. Ok. There will be differences among the implementations, we might add some thin API to hide the caching or underlying strcutres but for now I don't have anything specific in mind.
