[Sheepdog] [PATCH 2/3] sheep: refactor is_access_local()
Christoph Hellwig
hch at infradead.org
Mon Apr 30 18:01:35 CEST 2012
On Mon, Apr 30, 2012 at 04:53:46PM +0800, Liu Yuan wrote:
> From: Liu Yuan <tailai.ly at taobao.com>
>
> - let is_access_local to calculate copies itself
> - fix a nasty bug in void io_op_done(), we should not pass 0
> or leave_cluster() will never be called.
Might be worth mentioning that we now always ignore hdr.copies, like
most other places, as that's basically the most important difference
from the old code.
Otherwise looks good,
Reviewed-by: Christoph Hellwig <hch at lst.de>
More information about the sheepdog
mailing list