Re: rbd STDIN import does not work / wip-rbd-export-stdout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/1/2012 12:23 PM, Stefan Priebe wrote:
Hi Dan,

Am 27.11.2012 10:16, schrieb Stefan Priebe - Profihost AG:
Am 26.11.2012 21:00, schrieb Dan Mick:
It writes zeros; there's no way for it to know how many zeros are
coming.  It could make a half-hearted attempt depending on its buffer
size and the amount of data the source is willing to buffer.

Yes but why not skip at leas if the WHOLE BUFFER is zero and then use the buffer size = stripe size?

Right now a 40GB image which has just 3GB used rest is zeros due to using fstrim before doing the export takes a long time to import. We could speed this up a lot if we would skip parts with only zeros.

Great minds!  I'm actually working on that now; as you say it's not hard.

Greets,
Stefab

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux