Re: [Qemu-devel] [PATCH v2 4/9] block: Extract common write req handling

2018-07-05 Thread Kevin Wolf
Am 05.07.2018 um 09:36 hat Fam Zheng geschrieben: > As a mechanical refactoring patch, this is the first step towards > unified and more correct write code paths. This is helpful because > multiple BlockDriverState fields need to be updated after modifying > image data, and it's hard to maintain

[Qemu-devel] [PATCH v2 4/9] block: Extract common write req handling

2018-07-05 Thread Fam Zheng
As a mechanical refactoring patch, this is the first step towards unified and more correct write code paths. This is helpful because multiple BlockDriverState fields need to be updated after modifying image data, and it's hard to maintain in multiple places such as copy offload, discard and