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

MORITA Kazutaka morita.kazutaka at gmail.com
Tue May 21 14:58:12 CEST 2013


At Tue, 21 May 2013 20:51:32 +0800,
Liu Yuan wrote:
> 
> On 05/21/2013 08:44 PM, MORITA Kazutaka wrote:
> > Yes.  Can you prepare a patch to drop O_DIRECT from the open flag when
> > offset and length are not sector aligned?  I think the patch should be
> > in the same series with this one.
> 
> Not all the system support diretio. I am wondering if we can do the
> trick in the collie? Collie just do a block-aligned read/write, but
> return the right thing for read?

How do we deal with write?  Do we fill zero to the rest of the buffer
when the length is not sector aligned?

Thanks,

Kazutaka


More information about the sheepdog mailing list