Re: [Qemu-block] [Qemu-devel] [PATCH 1/1] protocol: Add NBD_CMD_FLAG_FAST_ZERO

2019-08-28 Thread Vladimir Sementsov-Ogievskiy
28.08.2019 16:04, Eric Blake wrote: > On 8/28/19 4:57 AM, Vladimir Sementsov-Ogievskiy wrote: > >>> Hence, it is desirable to have a way for clients to specify that a >>> particular write zero request is being attempted for a fast wipe, and >>> get an immediate failure if the zero request would ot

Re: [Qemu-block] [Qemu-devel] [PATCH 1/1] protocol: Add NBD_CMD_FLAG_FAST_ZERO

2019-08-28 Thread Eric Blake
On 8/28/19 4:57 AM, Vladimir Sementsov-Ogievskiy wrote: >> Hence, it is desirable to have a way for clients to specify that a >> particular write zero request is being attempted for a fast wipe, and >> get an immediate failure if the zero request would otherwise take the >> same time as a write.

Re: [Qemu-block] [Qemu-devel] [PATCH 1/1] protocol: Add NBD_CMD_FLAG_FAST_ZERO

2019-08-28 Thread Vladimir Sementsov-Ogievskiy
23.08.2019 17:34, Eric Blake wrote: > While it may be counterintuitive at first, the introduction of > NBD_CMD_WRITE_ZEROES and NBD_CMD_BLOCK_STATUS has caused a performance > regression in qemu [1], when copying a sparse file. When the > destination file must contain the same contents as the sourc