commit | 48c0f5d56fd2ff0a0cda23301637b742c690f59a | [log] [tgz] |
---|---|---|
author | Peter Xu <peterx@redhat.com> | Fri Feb 02 18:28:36 2024 +0800 |
committer | Peter Xu <peterx@redhat.com> | Mon Feb 05 14:42:10 2024 +0800 |
tree | dec3f9c788f73c26688a706643c8430c959acb7c | |
parent | 8888a552bf7af200e36ff123772547dfb4f133c4 [diff] |
migration/multifd: multifd_send_kick_main() When a multifd sender thread hit errors, it always needs to kick the main thread by kicking all the semaphores that it can be waiting upon. Provide a helper for it and deduplicate the code. Reviewed-by: Fabiano Rosas <farosas@suse.de> Link: https://lore.kernel.org/r/20240202102857.110210-3-peterx@redhat.com Signed-off-by: Peter Xu <peterx@redhat.com>