[sheepdog] [PATCH v2] collie: don't roundup vdi size

Liu Yuan namei.unix at gmail.com
Tue May 21 14:33:54 CEST 2013


On 05/21/2013 08:26 PM, MORITA Kazutaka wrote:
> Nack, the data length must be sector aligned when we use direct I/O.
> Can't we modify Glance sheepdog driver so that we don't need these
> changes?

Just test create an image with size '3' and  write 'XXX' to it. When it
reads the content, we return 512 bytes. so fail the test. But if user
requests to read 3 bytes, we should return 3 bytes, no more no less if
we later support an object store like swift and s3, no?

Thanks,
Yuan



More information about the sheepdog mailing list