]> git.dujemihanovic.xyz Git - u-boot.git/commit
fs: btrfs: Crossport extent-cache.[ch] from btrfs-progs
authorQu Wenruo <wqu@suse.com>
Wed, 24 Jun 2020 16:02:51 +0000 (18:02 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 8 Sep 2020 00:57:27 +0000 (20:57 -0400)
commitab5c3046f2bd6b0e592d494df0557ca8dc7a2c68
tree1dc88c15e505bfce14d01e5b9f15f27b6695141a
parentbc621e545b594f1ffd1191b6952de2e0c4c238de
fs: btrfs: Crossport extent-cache.[ch] from btrfs-progs

This patch implements an infrastructure to insert/search/merge an extent
range (with variable length).

This provides the basis for later extent buffer cache used in btrfs.

Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Marek BehĂșn <marek.behun@nic.cz>
fs/btrfs/extent-cache.c [new file with mode: 0644]
fs/btrfs/extent-cache.h [new file with mode: 0644]