I like this version better than the one I come up with. You should update your patch. :)
On Mon, May 6, 2013 at 9:00 AM, MORITA Kazutaka <[email protected]>wrote: > At Mon, 06 May 2013 16:24:39 +0800, > Liu Yuan wrote: > > > > On 05/06/2013 04:15 PM, Joseph Glanville wrote: > > > + _random | dd bs=1M | $COLLIE vdi write test$i -p 7000 & > > > > 'dd bs=1M' is redundant? I can't still pass the tests with your patch > > yet. Still sees 'error writing output file' error > > I think it is because openssl fails to write data to stdout because collie > vdi > write has exited. If so, we can safely ignore the error message. > > I've tried the following simpler version. It looks working correctly > without dd > and shows much better performance than /dev/urandom on my environment. > > == > _random() > { > openssl enc -aes-256-ctr -pass pass:"$(date)" -nosalt < /dev/zero > 2>/dev/null > } > == > > Thanks, > > Kazutaka >
-- sheepdog mailing list [email protected] http://lists.wpkg.org/mailman/listinfo/sheepdog
