You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometime ago qemu have detection of writing zeroes and transparently can du unmap requst to underlining storage.
I think for sheepdog it easy can be implemented to use OP_DISCARD with offset and len.
In this case then user try to write file with zeroes and file size more then one block we can fallocate it to zero hole.
If written data less then block - we can split request to discard/write new or do like now - detect zeroes on sheep side.
What do you think?
The text was updated successfully, but these errors were encountered:
Sometime ago qemu have detection of writing zeroes and transparently can du unmap requst to underlining storage.
I think for sheepdog it easy can be implemented to use OP_DISCARD with offset and len.
In this case then user try to write file with zeroes and file size more then one block we can fallocate it to zero hole.
If written data less then block - we can split request to discard/write new or do like now - detect zeroes on sheep side.
What do you think?
The text was updated successfully, but these errors were encountered: