Commit fb0eb5d
md: raid1/raid10: initialize bvec table via bio_add_page()
We will support multipage bvec soon, so initialize bvec
table using the standardy way instead of writing the
talbe directly. Otherwise it won't work any more once
multipage bvec is enabled.
Acked-by: Guoqing Jiang <gqjiang@suse.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Shaohua Li <shli@fb.com>1 parent 022e510 commit fb0eb5d
3 files changed
+27
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
84 | 86 | | |
85 | 87 | | |
86 | 88 | | |
| |||
2085 | 2087 | | |
2086 | 2088 | | |
2087 | 2089 | | |
2088 | | - | |
2089 | | - | |
2090 | 2090 | | |
2091 | | - | |
2092 | 2091 | | |
2093 | 2092 | | |
2094 | 2093 | | |
| |||
2097 | 2096 | | |
2098 | 2097 | | |
2099 | 2098 | | |
2100 | | - | |
2101 | | - | |
2102 | 2099 | | |
2103 | 2100 | | |
2104 | 2101 | | |
2105 | 2102 | | |
2106 | 2103 | | |
2107 | 2104 | | |
2108 | 2105 | | |
2109 | | - | |
2110 | | - | |
2111 | | - | |
2112 | | - | |
2113 | | - | |
2114 | | - | |
2115 | | - | |
2116 | | - | |
2117 | | - | |
| 2106 | + | |
| 2107 | + | |
2118 | 2108 | | |
2119 | 2109 | | |
2120 | 2110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
| 114 | + | |
113 | 115 | | |
114 | 116 | | |
115 | 117 | | |
| |||
2086 | 2088 | | |
2087 | 2089 | | |
2088 | 2090 | | |
2089 | | - | |
2090 | | - | |
| 2091 | + | |
| 2092 | + | |
2091 | 2093 | | |
2092 | 2094 | | |
2093 | 2095 | | |
| |||
0 commit comments