Re: [pve-devel] drive-mirror to rbd don't do thin provisioning .

2014-10-08 Thread Dietmar Maurer
> It's working fine with backup-restore. > > I have check the code of rbd block driver, > > and it's seem to miss the bdrv_co_write_zeroes feature. > > (Which is not use by backup-restore). in block/backup.c: if (buffer_is_zero(iov.iov_base, iov.iov_len)) { if (job->dump_cb)

[pve-devel] drive-mirror to rbd don't do thin provisioning .

2014-10-07 Thread Alexandre DERUMIER
Hi, I was testing drive-mirror to rbd storage, and it's seem that zero block are written to rbd storage, so thin provisioning don't work. It's working fine with backup-restore. I have check the code of rbd block driver, and it's seem to miss the bdrv_co_write_zeroes feature. (Which is not use