]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: introduce the skeleton of btrfs_subpage structure
authorQu Wenruo <wqu@suse.com>
Tue, 26 Jan 2021 08:33:47 +0000 (16:33 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 8 Feb 2021 21:59:01 +0000 (22:59 +0100)
commit965fb88611d6c4267ff6bdcd7b777a8048bb8060
tree15477a4bf8aa0a8ec1a247d7d127b14f773519a3
parent55feb547e81ca43cf31fce2d3acc10dd6cb3e0cb
btrfs: introduce the skeleton of btrfs_subpage structure

For sectorsize < page size support, we need a structure to record extra
status info for each sector of a page.

Introduce the skeleton structure, all subpage related code would go to
subpage.[ch].

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/Makefile
fs/btrfs/subpage.c [new file with mode: 0644]
fs/btrfs/subpage.h [new file with mode: 0644]
fs/btrfs/super.c