[sheepdog-users] cache flush: all or nothing
namei.unix at gmail.com
Thu Jun 6 14:18:28 CEST 2013
On 06/06/2013 08:09 PM, Valerio Pachera wrote:
> 2013/6/6 Liu Yuan <namei.unix at gmail.com>:
>> I guess you meant 30 seconds? I didn't see it takes 30 mins.
> yet, it's the output of 'time' comand
> 0 (m)inutes 31 seconds 903 milliseconds.
So your last mail meant that you couldn't reproduce the long wait time
By the current code, if we write 100G and immediately shutdown the VM,
we will wait for sheep flushing 100G to the backend before it completely
turn off the VM. As above mentioned, we can mitigate this problem by
introducing background pusher, that is flushing while writing.
More information about the sheepdog-users