[Sheepdog] [PATCH 1/3] sheep: add a dprintf for store_queue_request_local

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Thu Sep 1 11:17:58 CEST 2011


At Wed, 31 Aug 2011 17:44:57 +0800,
Liu Yuan wrote:
> 
> From: Liu Yuan <tailai.ly at taobao.com>
> 
> 
> Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
> ---
>  sheep/store.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)

Applied these three patches, thanks!

Kazutaka

> 
> diff --git a/sheep/store.c b/sheep/store.c
> index d192557..ef991ef 100644
> --- a/sheep/store.c
> +++ b/sheep/store.c
> @@ -595,6 +595,8 @@ static int store_queue_request_local(struct request *req, uint32_t epoch)
>  	struct jrnl_descriptor jd;
>  	struct jrnl_vdi_head jh;
>  
> +	dprintf("%x, %" PRIx64" , %u\n", opcode, oid, epoch);
> +
>  	switch (opcode) {
>  	case SD_OP_CREATE_AND_WRITE_OBJ:
>  	case SD_OP_WRITE_OBJ:
> -- 
> 1.7.5.1
> 
> -- 
> sheepdog mailing list
> sheepdog at lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/sheepdog



More information about the sheepdog mailing list