[Sheepdog] [PATCH v2 3/3] sheep: use do_process_work() to handle io request

Liu Yuan namei.unix at gmail.com
Tue Nov 22 07:56:37 CET 2011


On 11/22/2011 02:51 PM, MORITA Kazutaka wrote:

> We need to set req->op in fix_object_recovery(), too:
> 
>  - store.c:726
>    Set get_sd_op(SD_OP_READ_OBJ) before calling do_cluster_read()
> 
>  - store.c:735
>    Set get_sd_op(SD_OP_WRITE_OBJ) before calling do_cluster_write()
> 
>  - store.c:743
>    Recover the original req->op before exiting fix_object_recovery().
> 


Ah, yes, nice catch, thanks

Yuan



More information about the sheepdog mailing list