[sheepdog] [PATCH v3 2/5] md: fix a fatal bug in check_and_move()

Liu Yuan namei.unix at gmail.com
Wed Apr 17 18:05:05 CEST 2013


On 04/18/2013 12:03 AM, MORITA Kazutaka wrote:
> This assumes that SD_INODE_SIZE is the longest object size.  It is
> true, but might be wrong in future.  I think using get_objsize(oid)
> instead is safer.

Umm, it is just a hint size thought. But it is better to call
get_objsize(oid) for it.

Thanks,
Yuan



More information about the sheepdog mailing list