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

MORITA Kazutaka morita.kazutaka at gmail.com
Tue May 21 15:16:11 CEST 2013


At Tue, 21 May 2013 22:08:36 +0900,
MORITA Kazutaka wrote:
> 
> At Tue, 21 May 2013 21:00:51 +0800,
> Liu Yuan wrote:
> > 
> > On 05/21/2013 08:58 PM, MORITA Kazutaka wrote:
> > > How do we deal with write?  Do we fill zero to the rest of the buffer
> > > when the length is not sector aligned?
> > 
> > Yeah, I think so.
> 
> Okay, it looks good to me.

On the second thought, I think we need to do read-modify-write for
sub-sector writes as Joseph said.  Otherwise, the write request
discards data in the rest of the sector.

Thanks,

Kazutaka



More information about the sheepdog mailing list