| commit | ddbe628c97c3a2d211c6d96383cb4063ac3ad0f9 | [log] [tgz] |
|---|---|---|
| author | Zhenzhong Duan <[email protected]> | Mon Oct 17 07:53:50 2022 |
| committer | Juan Quintela <[email protected]> | Mon Feb 06 18:22:57 2023 |
| tree | 24b3525ac18877715b0c449304aa29ca14b234c2 | |
| parent | 6720c2b32725e6ac404f22851a0ecd0a71d0cbe2 [diff] |
multifd: Fix a race on reading MultiFDPages_t.block In multifd_queue_page() MultiFDPages_t.block is checked twice. Between the two checks, MultiFDPages_t.block may be reset to NULL by multifd thread. This lead to the 2nd check always true then a redundant page submitted to multifd thread again. Signed-off-by: Zhenzhong Duan <[email protected]> Reviewed-by: Juan Quintela <[email protected]> Signed-off-by: Juan Quintela <[email protected]>