]> 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)
commit53ee6ce2b325892725d8def3ac09dadc89e8c4f4
tree15477a4bf8aa0a8ec1a247d7d127b14f773519a3
parent015957e0d47904c3e6b7ba3f02c19d964e0516cc
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