Commit ed082db
committed
librbd: fold complete_event_socket() into notify_callbacks_complete()
Since commit 50694f7 ("librbd: fix race condition with AIO
completion callbacks"), the former is always called before the latter.
Move event socket notification code into notify_callbacks_complete()
and rename it to mark_complete_and_notify().
Signed-off-by: Ilya Dryomov <[email protected]>1 parent d526572 commit ed082db
2 files changed
+5
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
| 106 | + | |
108 | 107 | | |
109 | 108 | | |
110 | | - | |
111 | | - | |
| 109 | + | |
112 | 110 | | |
113 | 111 | | |
114 | 112 | | |
| |||
259 | 257 | | |
260 | 258 | | |
261 | 259 | | |
262 | | - | |
263 | | - | |
| 260 | + | |
264 | 261 | | |
265 | 262 | | |
266 | 263 | | |
267 | 264 | | |
268 | | - | |
| 265 | + | |
269 | 266 | | |
270 | 267 | | |
271 | 268 | | |
272 | 269 | | |
273 | | - | |
274 | 270 | | |
275 | | - | |
276 | 271 | | |
277 | 272 | | |
278 | 273 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
184 | | - | |
| 183 | + | |
185 | 184 | | |
186 | 185 | | |
187 | 186 | | |
| |||
0 commit comments