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-01 21:40:47 +01:00
2020-10-24 12:26:05 -07:00
2020-10-24 12:26:05 -07:00
2020-11-22 11:27:03 -08:00
2020-10-16 11:11:22 -07:00
2020-12-09 19:16:11 +01:00
2020-10-26 10:42:54 -07:00
2020-11-04 20:55:49 +01:00
2020-12-03 17:12:14 -06:00
2020-10-16 11:11:19 -07:00
2020-11-11 20:59:07 -08:00
2020-10-30 08:37:39 +01:00
2020-10-15 18:42:13 -07:00
2020-11-25 16:55:02 +01:00
2020-11-04 09:15:48 +08:00
2020-10-24 12:26:05 -07:00
2020-10-24 12:26:05 -07:00
2020-11-19 22:41:10 -05:00
2020-10-24 12:26:05 -07:00
2020-10-19 14:28:30 -07:00
2020-12-01 00:21:10 +01:00
2020-10-29 17:22:59 -05:00
2020-10-29 17:22:59 -05:00
2020-11-04 08:52:46 -08:00
2020-10-29 17:22:59 -05:00
2020-11-19 22:38:29 -05:00
2020-10-22 09:44:27 -07:00
2020-11-12 10:41:26 -05:00
2020-10-21 10:31:20 -04:00
2020-11-05 17:25:14 -05:00
2020-10-24 12:26:05 -07:00
2020-11-09 15:03:08 +01:00
2020-10-24 12:26:05 -07:00
2020-11-14 11:26:04 -08:00
2020-11-20 11:47:22 -08:00
2020-10-15 14:56:15 -07:00
2020-10-16 11:11:22 -07:00
2020-10-24 12:26:05 -07:00
2020-10-24 12:26:05 -07:00
2020-10-18 09:56:50 -07:00
2020-10-24 12:26:05 -07:00
2020-10-24 12:26:05 -07:00
2020-10-15 15:11:56 -07:00
2020-11-19 15:17:50 -08:00
2020-10-24 12:26:05 -07:00
2020-11-10 16:53:07 -08:00
2020-10-16 11:11:21 -07:00
2020-10-29 17:22:59 -05:00
2020-10-18 09:27:09 -07:00
2020-12-06 10:19:07 -08:00
2020-10-14 14:54:45 -07:00
2020-10-19 14:28:30 -07:00
2020-10-15 15:03:10 -07:00
2020-10-16 12:21:15 -07:00
2020-10-17 15:05:30 -06:00
2020-10-13 18:38:27 -07:00
2020-10-13 12:12:44 -07:00
2020-10-16 11:11:15 -07:00
2020-11-30 11:12:03 -07:00
2020-11-04 10:22:56 -07:00
2020-10-20 16:03:13 -06:00
2020-11-22 10:48:22 -08:00
2020-10-23 11:33:41 -07:00
2020-10-24 12:26:05 -07:00
2020-10-24 12:26:05 -07:00
2020-10-11 11:11:35 -07:00
2020-10-23 11:33:41 -07:00
2020-10-15 09:48:49 -07:00
2020-10-29 17:22:59 -05:00
2020-11-06 10:05:18 -08:00
2020-10-24 12:40:18 -07:00
2020-11-10 16:53:11 -08:00
2020-10-16 11:11:22 -07:00
2020-10-13 18:38:27 -07:00