[sheepdog] [PATCH] sheep: don't update vdi_iocb in vdi_* functions
Liu Yuan
namei.unix at gmail.com
Fri Aug 30 11:22:27 CEST 2013
On Fri, Aug 30, 2013 at 05:07:06PM +0900, MORITA Kazutaka wrote:
> From: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
>
> We are using vdi_iocb to get a snapid from a vdi object, but it looks
> like abusing of vdi_iocb. This patch makes how to use vdi_iocb and
> vdi_info clear like as follows.
>
> - vdi_iocb is used to pass parameters from clients.
> - vdi_info is used to get info from sheepdog.
>
> To prevent from abusing them again, this patch makes some vdi_iocb
> variables constant where possible.
>
Applied thanks
Yuan
More information about the sheepdog
mailing list