Re: [PATCH] block/backup-top: fix flags handling

2020-02-03 Thread Vladimir Sementsov-Ogievskiy
31.01.2020 22:38, Eric Blake wrote: On 1/31/20 12:48 PM, Vladimir Sementsov-Ogievskiy wrote: backup-top "supports" write-unchanged, by skipping CBW operation in backup_top_co_pwritev. But it forgets to do the same in backup_top_co_pwrite_zeroes, as well as declare support for BDRV_REQ_WRITE_UNCH

Re: [PATCH] block/backup-top: fix flags handling

2020-01-31 Thread Eric Blake
On 1/31/20 12:48 PM, Vladimir Sementsov-Ogievskiy wrote: backup-top "supports" write-unchanged, by skipping CBW operation in backup_top_co_pwritev. But it forgets to do the same in backup_top_co_pwrite_zeroes, as well as declare support for BDRV_REQ_WRITE_UNCHANGED. Fix this, and, while being he

[PATCH] block/backup-top: fix flags handling

2020-01-31 Thread Vladimir Sementsov-Ogievskiy
backup-top "supports" write-unchanged, by skipping CBW operation in backup_top_co_pwritev. But it forgets to do the same in backup_top_co_pwrite_zeroes, as well as declare support for BDRV_REQ_WRITE_UNCHANGED. Fix this, and, while being here, declare also support for flags supported by source chil