Commit e51a9f5
committed
block/graph-lock: fix missed wakeup in bdrv_graph_co_rdunlock()
Make aio_wait_kick() unconditional in bdrv_graph_co_rdunlock().
bdrv_graph_wrlock() zeroes has_writer while polling, so rdunlock
cannot rely on has_writer to detect a waiting writer. The kick is
a no-op when no one is waiting.
Cherry-picked from upstream stable-11.0 commit fddafa15a9.
Signed-off-by: Jason Truong <jason.truong@windriver.com>1 parent 3cefd3b commit e51a9f5
1 file changed
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | 280 | | |
287 | 281 | | |
288 | 282 | | |
| |||
0 commit comments