Commit 51e28ba
committed
md/raid5: implement pers->bitmap_sector()
JIRA: https://issues.redhat.com/browse/RHEL-73514
commit 9c89f60
Author: Yu Kuai <yukuai3@huawei.com>
Date: Thu Jan 9 09:51:44 2025 +0800
md/raid5: implement pers->bitmap_sector()
Bitmap is used for the whole array for raid1/raid10, hence IO for the
array can be used directly for bitmap. However, bitmap is used for
underlying disks for raid5, hence IO for the array can't be used
directly for bitmap.
Implement pers->bitmap_sector() for raid5 to convert IO ranges from the
array to the underlying disks.
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20250109015145.158868-5-yukuai1@huaweicloud.com
Signed-off-by: Song Liu <song@kernel.org>
Signed-off-by: Nigel Croxon <ncroxon@redhat.com>1 parent 7fe63ea commit 51e28ba
1 file changed
+51
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5918 | 5918 | | |
5919 | 5919 | | |
5920 | 5920 | | |
| 5921 | + | |
| 5922 | + | |
| 5923 | + | |
| 5924 | + | |
| 5925 | + | |
| 5926 | + | |
| 5927 | + | |
| 5928 | + | |
| 5929 | + | |
| 5930 | + | |
| 5931 | + | |
| 5932 | + | |
| 5933 | + | |
| 5934 | + | |
| 5935 | + | |
| 5936 | + | |
| 5937 | + | |
| 5938 | + | |
| 5939 | + | |
| 5940 | + | |
| 5941 | + | |
| 5942 | + | |
| 5943 | + | |
| 5944 | + | |
| 5945 | + | |
| 5946 | + | |
| 5947 | + | |
| 5948 | + | |
| 5949 | + | |
| 5950 | + | |
| 5951 | + | |
| 5952 | + | |
| 5953 | + | |
| 5954 | + | |
| 5955 | + | |
| 5956 | + | |
| 5957 | + | |
| 5958 | + | |
| 5959 | + | |
| 5960 | + | |
| 5961 | + | |
| 5962 | + | |
| 5963 | + | |
| 5964 | + | |
| 5965 | + | |
| 5966 | + | |
| 5967 | + | |
| 5968 | + | |
5921 | 5969 | | |
5922 | 5970 | | |
5923 | 5971 | | |
| |||
8962 | 9010 | | |
8963 | 9011 | | |
8964 | 9012 | | |
| 9013 | + | |
8965 | 9014 | | |
8966 | 9015 | | |
8967 | 9016 | | |
| |||
8987 | 9036 | | |
8988 | 9037 | | |
8989 | 9038 | | |
| 9039 | + | |
8990 | 9040 | | |
8991 | 9041 | | |
8992 | 9042 | | |
| |||
9013 | 9063 | | |
9014 | 9064 | | |
9015 | 9065 | | |
| 9066 | + | |
9016 | 9067 | | |
9017 | 9068 | | |
9018 | 9069 | | |
| |||
0 commit comments