Re: [PATCH] migration: Cleanup migrate_fd_cleanup() on accessing to_dst_file

2024-10-10 Thread Peter Xu
On Thu, Sep 19, 2024 at 12:30:42PM -0400, Peter Xu wrote: > The cleanup function can in many cases needs cleanup on its own. > > The major thing we want to do here is not referencing to_dst_file when > without the file mutex. When at it, touch things elsewhere too to make it > look slightly bette

Re: [PATCH] migration: Cleanup migrate_fd_cleanup() on accessing to_dst_file

2024-10-09 Thread Fabiano Rosas
Peter Xu writes: > The cleanup function can in many cases needs cleanup on its own. > > The major thing we want to do here is not referencing to_dst_file when > without the file mutex. When at it, touch things elsewhere too to make it > look slightly better in general. > > One thing to mention i

[PATCH] migration: Cleanup migrate_fd_cleanup() on accessing to_dst_file

2024-09-19 Thread Peter Xu
The cleanup function can in many cases needs cleanup on its own. The major thing we want to do here is not referencing to_dst_file when without the file mutex. When at it, touch things elsewhere too to make it look slightly better in general. One thing to mention is, migration_thread has its own