[sheepdog] [PATCH 5/7] sheep: split io_op_done

Liu Yuan namei.unix at gmail.com
Fri Jun 1 16:25:13 CEST 2012


On 06/01/2012 04:52 PM, Christoph Hellwig wrote:

>  	case SD_RES_OLD_NODE_VER:
> +		if (req->rp.epoch > sys->epoch) {
> +			list_add_tail(&req->request_list,
> +				      &sys->wait_rw_queue);
> +			break;


Here we should call return, not break out to call req_done

Thanks,
Yuan

> +		}
> +		/*FALLTHRU*/





More information about the sheepdog mailing list