Re: [PATCH v1] migration/multifd: correct multifd_send_thread to trace the flags

2023-03-16 Thread Juan Quintela
Wei Wang wrote: > The p->flags could be updated via the send_prepare callback, e.g. OR-ed > with MULTIFD_FLAG_ZLIB via zlib_send_prepare. Assign p->flags to the > local "flags" before the send_prepare callback could only get partial of > p->flags. Fix it by moving the assignment of p->flags to the

[PATCH v1] migration/multifd: correct multifd_send_thread to trace the flags

2023-03-09 Thread Wei Wang
The p->flags could be updated via the send_prepare callback, e.g. OR-ed with MULTIFD_FLAG_ZLIB via zlib_send_prepare. Assign p->flags to the local "flags" before the send_prepare callback could only get partial of p->flags. Fix it by moving the assignment of p->flags to the local flags after the ca