Commit f9e6a8e
committed
fix(LinstorSR): open non-leaf volumes in RO mode (create_chain_paths)
We must never open non-leaf volumes with the write option.
Only read only mode should be used to allow any host to access DRBD data.
Otherwise an attach call on dom-0 can be interrupted because a host already has a read lock.
Signed-off-by: Ronan Abhamon <ronan.abhamon@vates.fr>1 parent 43f278c commit f9e6a8e
2 files changed
+8
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1793 | 1793 | | |
1794 | 1794 | | |
1795 | 1795 | | |
1796 | | - | |
1797 | | - | |
1798 | | - | |
| 1796 | + | |
| 1797 | + | |
1799 | 1798 | | |
| 1799 | + | |
1800 | 1800 | | |
1801 | 1801 | | |
1802 | 1802 | | |
| |||
1830 | 1830 | | |
1831 | 1831 | | |
1832 | 1832 | | |
1833 | | - | |
| 1833 | + | |
1834 | 1834 | | |
1835 | 1835 | | |
1836 | 1836 | | |
| |||
2357 | 2357 | | |
2358 | 2358 | | |
2359 | 2359 | | |
2360 | | - | |
| 2360 | + | |
2361 | 2361 | | |
2362 | 2362 | | |
2363 | 2363 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
| 165 | + | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
| 181 | + | |
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| 199 | + | |
199 | 200 | | |
200 | 201 | | |
201 | 202 | | |
| |||
0 commit comments