Re: [Qemu-block] [PATCH 37/42] job: Move progress fields to Job

2018-05-16 Thread Eric Blake
On 05/09/2018 11:26 AM, Kevin Wolf wrote: BlockJob has fields .offset and .len, which are actually misnomers today because they are no longer tied to block device sizes, but just progress counters. As such they make a lot of sense in generic Jobs. This patch moves the fields to Job and renames

Re: [Qemu-block] [PATCH 37/42] job: Move progress fields to Job

2018-05-14 Thread Max Reitz
On 2018-05-09 18:26, Kevin Wolf wrote: > BlockJob has fields .offset and .len, which are actually misnomers today > because they are no longer tied to block device sizes, but just progress > counters. As such they make a lot of sense in generic Jobs. > > This patch moves the fields to Job and

[Qemu-block] [PATCH 37/42] job: Move progress fields to Job

2018-05-09 Thread Kevin Wolf
BlockJob has fields .offset and .len, which are actually misnomers today because they are no longer tied to block device sizes, but just progress counters. As such they make a lot of sense in generic Jobs. This patch moves the fields to Job and renames them to .progress_current and