On 5/17/2011 1:28 PM, Maxim Sobolev wrote:
The next thing to make it usable is to make "async" mode working. I think simple support for that mode can be easily implemented by not sending write request to the remote note at all, but instead just doing it locally and kicking the synchronization thread to do it's magic in the background. I hope to follow up with the patch soon.
Here is a proof of concept path, which simply fails any non-synchronization requests in the send thread when in the async mode. This is non-optimal, as it would cause additional latency in the write path when the send thread is busy with synchronization requests. But it works for me, making it possible to use my virtual machine while synchronizing the disk image.
http://sobomax.sippysoft.com/primary.c.diff -Maxim _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"