[sheepdog] [sheepdog-users] [PATCH 3/3] sheep: recover from local when target node has same content

Liu Yuan namei.unix at gmail.com
Fri May 10 09:04:07 CEST 2013


On 05/10/2013 01:28 PM, MORITA Kazutaka wrote:
>  static int recover_object_from_replica(uint64_t oid, struct vnode_info *old,
>  				       struct vnode_info *cur,
> -				       uint32_t epoch, uint32_t tgt_epoch)
> +				       uint32_t epoch, uint32_t tgt_epoch,
> +				       uint32_t local_epoch, uint8_t *sha1)

The parameter is too bloated, pass 'row' looks cleaner.

Thanks,
Yuan



More information about the sheepdog mailing list