Qu Wenruo
53f3251d3b
btrfs: scrub: support subpage tree block scrub
...
To support subpage tree block scrub, scrub_checksum_tree_block() only
needs to learn 2 new tricks:
- Follow sector size
Now scrub_page only represents one sector, we need to follow it
properly.
- Run checksum on all sectors
Since scrub_page only represents one sector, we need to run checksum
on all sectors, not only (nodesize >> PAGE_SIZE).
Signed-off-by: Qu Wenruo <wqu@suse.com >
Reviewed-by: David Sterba <dsterba@suse.com >
Signed-off-by: David Sterba <dsterba@suse.com >
2020-12-09 19:16:11 +01:00
..
2020-12-09 19:16:06 +01:00
2020-12-08 15:54:07 +01:00
2020-12-09 19:16:09 +01:00
2020-12-08 15:54:03 +01:00
2020-12-08 15:53:41 +01:00
2020-12-08 15:54:12 +01:00
2020-12-09 19:16:05 +01:00
2020-12-09 19:16:11 +01:00
2020-10-07 12:06:55 +02:00
2020-12-09 19:16:10 +01:00
2020-12-09 19:16:11 +01:00
2020-10-07 12:06:52 +02:00
2020-12-08 15:54:10 +01:00
2020-12-08 15:54:10 +01:00
2020-12-09 19:16:03 +01:00
2020-12-08 15:54:02 +01:00
2020-12-08 15:54:05 +01:00
2020-12-08 15:54:02 +01:00
2020-12-09 19:16:09 +01:00
2020-12-09 19:16:09 +01:00
2020-12-08 15:54:02 +01:00
2020-12-09 19:16:10 +01:00
2020-12-09 19:16:10 +01:00
2020-12-08 15:54:13 +01:00
2020-12-08 15:54:07 +01:00
2020-12-09 19:16:11 +01:00
2020-12-09 19:16:04 +01:00
2020-12-09 19:16:09 +01:00
2020-12-09 19:16:09 +01:00
2020-12-08 15:54:02 +01:00
2020-12-08 15:54:02 +01:00
2020-12-09 19:16:11 +01:00
2020-12-09 19:16:05 +01:00
2020-10-07 12:06:57 +02:00
2020-12-08 15:54:09 +01:00
2020-12-08 15:54:09 +01:00
2020-12-09 19:16:05 +01:00
2020-12-09 19:16:10 +01:00
2020-12-09 19:16:10 +01:00
2020-12-08 15:54:07 +01:00
2020-10-07 12:12:20 +02:00
2020-12-08 15:54:07 +01:00
2020-12-09 19:16:05 +01:00
2020-12-08 15:54:07 +01:00
2020-12-08 15:54:06 +01:00
2020-12-08 15:54:12 +01:00
2020-12-09 19:16:05 +01:00
2020-10-07 12:12:13 +02:00
2020-12-09 19:16:11 +01:00
2020-12-08 15:53:51 +01:00
2020-10-07 12:13:17 +02:00
2020-10-07 12:13:19 +02:00
2020-10-07 12:06:52 +02:00
2020-12-09 19:16:10 +01:00
2020-12-09 19:16:08 +01:00
2020-12-08 15:54:16 +01:00
2020-10-07 12:12:21 +02:00
2020-12-09 19:16:08 +01:00
2020-12-08 15:54:16 +01:00
2020-12-08 15:54:15 +01:00
2020-12-08 15:54:01 +01:00
2020-12-09 19:16:07 +01:00
2020-10-07 12:06:56 +02:00
2020-12-08 15:53:52 +01:00
2020-12-09 19:16:05 +01:00
2020-12-09 19:15:57 +01:00
2020-12-08 15:54:12 +01:00
2020-12-09 19:16:04 +01:00
2020-12-09 19:16:04 +01:00