Qu Wenruo
4ced85f81a
btrfs: reduce type width of btrfs_io_contexts
...
That structure is our ultimate object for all __btrfs_map_block()
related functions. We have some hard to understand members, like
tgtdev_map, but without any comments.
This patch will improve the situation:
- Add extra comments for num_stripes, mirror_num, num_tgtdevs and
tgtdev_map[]
Especially for the last two members, add a dedicated (thus very long)
comments for them, with example to explain it.
- Shrink those int members to u16.
In fact our on-disk format is only using u16 for num_stripes, thus
no need to use int at all.
Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2023-04-17 18:01:14 +02:00
..
2023-04-17 18:01:14 +02:00
2022-12-05 18:00:58 +01:00
2022-12-05 18:00:58 +01:00
2023-01-19 09:24:28 +01:00
2023-01-19 09:24:27 +01:00
2022-05-16 17:03:15 +02:00
2022-07-25 17:45:36 +02:00
2023-03-29 01:16:23 +02:00
2022-12-05 18:00:50 +01:00
2023-03-06 19:28:19 +01:00
2023-02-15 19:38:53 +01:00
2023-04-17 18:01:14 +02:00
2023-02-15 19:38:55 +01:00
2022-12-05 18:00:48 +01:00
2022-12-05 18:00:48 +01:00
2023-02-20 12:54:27 -08:00
2022-12-05 18:00:57 +01:00
2022-05-16 17:03:12 +02:00
2023-02-15 19:38:53 +01:00
2023-02-15 19:38:53 +01:00
2023-04-17 18:01:13 +02:00
2023-02-15 19:38:55 +01:00
2023-02-13 17:50:34 +01:00
2022-12-05 18:00:46 +01:00
2022-12-05 18:00:45 +01:00
2022-12-05 18:00:44 +01:00
2023-03-06 19:28:19 +01:00
2022-12-05 18:00:43 +01:00
2023-02-13 17:50:33 +01:00
2023-02-13 17:50:33 +01:00
2022-12-05 18:00:57 +01:00
2022-12-05 18:00:47 +01:00
2022-12-05 18:00:46 +01:00
2022-12-05 18:00:46 +01:00
2023-02-15 19:38:50 +01:00
2020-12-08 15:54:02 +01:00
2023-04-17 18:01:13 +02:00
2023-02-15 19:38:53 +01:00
2022-12-05 18:00:47 +01:00
2022-12-05 18:00:41 +01:00
2023-02-23 17:09:35 -08:00
2023-02-15 19:38:54 +01:00
2023-03-06 19:28:19 +01:00
2022-12-05 18:00:56 +01:00
2023-02-15 19:38:50 +01:00
2023-02-15 19:38:51 +01:00
2023-04-17 18:01:13 +02:00
2023-02-13 17:50:34 +01:00
2023-04-17 18:01:13 +02:00
2023-02-15 19:38:52 +01:00
2023-02-13 17:50:34 +01:00
2022-12-05 18:00:56 +01:00
2023-03-15 20:51:07 +01:00
2022-12-05 18:00:45 +01:00
2023-02-15 19:38:53 +01:00
2019-11-18 17:51:51 +01:00
2023-02-13 17:50:35 +01:00
2023-03-15 20:51:06 +01:00
2022-12-05 18:00:46 +01:00
2022-12-05 18:00:43 +01:00
2023-04-17 18:01:13 +02:00
2023-04-02 10:57:12 -07:00
2023-01-19 09:24:27 +01:00
2023-02-02 16:26:06 -08:00
2022-12-05 18:00:42 +01:00
2022-12-05 18:00:44 +01:00
2023-02-15 19:38:50 +01:00
2023-02-15 19:38:50 +01:00
2023-02-13 17:50:34 +01:00
2023-02-13 17:50:35 +01:00
2023-02-13 17:50:33 +01:00
2023-02-13 17:50:33 +01:00
2022-12-05 18:00:48 +01:00
2023-02-13 17:50:34 +01:00
2023-02-15 19:38:55 +01:00
2022-12-05 18:00:47 +01:00
2022-12-05 18:00:47 +01:00
2022-12-05 18:00:57 +01:00
2021-01-07 17:25:05 +01:00
2022-12-05 18:00:47 +01:00
2022-12-05 18:00:40 +01:00
2023-03-28 00:46:53 +02:00
2022-12-05 18:00:43 +01:00
2023-04-17 18:01:13 +02:00
2023-02-15 19:38:50 +01:00
2022-12-05 18:00:59 +01:00
2022-12-05 18:00:42 +01:00
2022-12-05 18:00:53 +01:00
2020-03-23 17:01:54 +01:00
2023-02-13 17:50:34 +01:00
2022-12-05 18:00:47 +01:00
2022-12-05 18:00:47 +01:00
2022-12-05 18:00:44 +01:00
2023-04-17 18:01:14 +02:00
2022-12-05 18:00:47 +01:00
2023-02-15 19:38:50 +01:00
2022-12-05 18:00:41 +01:00
2023-03-15 20:51:07 +01:00
2023-03-15 20:51:07 +01:00
2022-12-05 18:00:41 +01:00
2022-05-16 17:03:11 +02:00
2023-04-17 18:01:12 +02:00
2022-12-05 18:00:47 +01:00
2023-03-01 19:27:20 +01:00
2023-02-13 17:50:35 +01:00
2023-03-28 00:47:00 +02:00
2023-02-13 17:50:33 +01:00
2023-04-17 18:01:14 +02:00
2022-12-05 18:00:57 +01:00
2023-02-15 19:38:54 +01:00
2023-02-13 17:50:34 +01:00
2022-12-05 18:00:58 +01:00
2022-12-05 18:00:48 +01:00
2022-12-05 18:00:50 +01:00
2022-12-05 18:00:50 +01:00
2022-12-05 18:00:46 +01:00
2022-12-05 18:00:46 +01:00
2023-01-01 15:46:48 -08:00
2022-12-05 18:00:47 +01:00
2023-04-17 18:01:14 +02:00
2023-04-17 18:01:14 +02:00
2023-01-19 09:24:28 +01:00
2023-01-25 20:11:08 +01:00
2023-03-15 20:51:07 +01:00
2023-02-15 19:38:55 +01:00
2022-12-05 18:00:55 +01:00