[sheepdog] [PATCH] md: don't use xattr for calculating path space

Liu Yuan namei.unix at gmail.com
Thu May 23 11:49:12 CEST 2013


On 05/23/2013 05:45 PM, Kai Zhang wrote:
> I think the name of get_path_size() makes me confused. Actually, it
> returns free size and also set the second parameter as used size.

No, this was supported to use all the free space of one disk, but for MD
case, we use the whole disk as a mandatory, so just return the total
size, this can be considered as a bug but xattr shadows it.

Thanks,
Yuan



More information about the sheepdog mailing list