[PATCH v7 18/47] block: Flush all children in generic code

2020-06-25 Thread Max Reitz
If the driver does not support .bdrv_co_flush() so bdrv_co_flush() itself has to flush the children of the given node, it should not flush just bs->file->bs, but in fact all children that might have been written to (judging from the permissions taken on them). This is a bug fix for qcow2 images wi

Re: [PATCH v7 18/47] block: Flush all children in generic code

2020-07-14 Thread Andrey Shinkevich
On 25.06.2020 18:21, Max Reitz wrote: If the driver does not support .bdrv_co_flush() so bdrv_co_flush() itself has to flush the children of the given node, it should not flush just bs->file->bs, but in fact all children that might have been written to (judging from the permissions taken on them)