[sheepdog] [PATCH] collie: ensure images size always are a multiple of 512 bytes

Liu Yuan namei.unix at gmail.com
Thu May 31 14:21:01 CEST 2012


On 05/30/2012 11:14 PM, Christoph Hellwig wrote:

> Sheepdog provides a block devices interface with a sector size of 512 bytes,
> ensure we never set image sized not a multiple of 512 bytes, as that would
> confuse consumer with the worst case beeing that the size gets truncated down
> when doing the naive shift down to get the sector count.


Applied, thanks.

Yuan



More information about the sheepdog mailing list