Btrfs: Add a leaf reference cache
Much of the IO done while dropping snapshots is done looking up
leaves in the filesystem trees to see if they point to any extents and
to drop the references on any extents found.
This creates a cache so that IO isn't required.
Signed-off-by: NChris Mason <chris.mason@oracle.com>
Showing
fs/btrfs/ref-cache.c
0 → 100644
fs/btrfs/ref-cache.h
0 → 100644
想要评论请 注册 或 登录