Re: [Qemu-devel] [PATCH 2/5] migration: rename max_size to threshold_size

2017-04-01 Thread Peter Xu
On Fri, Mar 31, 2017 at 07:59:19PM +0100, Dr. David Alan Gilbert wrote: > * Peter Xu (pet...@redhat.com) wrote: > > In migration codes (especially in migration_thread()), max_size is used > > in many place for the threshold value that we will start to do the final > > flush and jump to the next sta

Re: [Qemu-devel] [PATCH 2/5] migration: rename max_size to threshold_size

2017-03-31 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > In migration codes (especially in migration_thread()), max_size is used > in many place for the threshold value that we will start to do the final > flush and jump to the next stage to dump the whole rest things to > destination. However its name is confusing

[Qemu-devel] [PATCH 2/5] migration: rename max_size to threshold_size

2017-03-27 Thread Peter Xu
In migration codes (especially in migration_thread()), max_size is used in many place for the threshold value that we will start to do the final flush and jump to the next stage to dump the whole rest things to destination. However its name is confusing to first readers. Let's rename it to "thresho