Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
btrfs: make btrfs_fs_info::buffer_radix to take sector size devided v…
…alues For subpage size sector size support, one page can contain mutliple tree blocks, thus we can no longer use (eb->start >> PAGE_SHIFT) any more, or we can easily get extent buffer doesn't belongs to us. This patch will use (extent_buffer::start / sectorsize) as index for radix tree so that we can get correct extent buffer for subpage size support. Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: Nikolay Borisov <nborisov@suse.com>
- Loading branch information