[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 1/2] sheepdog: don't update inode when create
From: |
MORITA Kazutaka |
Subject: |
Re: [Qemu-devel] [PATCH v2 1/2] sheepdog: don't update inode when create_and_write fails |
Date: |
Mon, 17 Dec 2012 16:49:12 +0900 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) Emacs/23.2 Mule/6.0 (HANACHIRUSATO) |
At Mon, 17 Dec 2012 14:17:26 +0800,
Liu Yuan wrote:
>
> From: Liu Yuan <address@hidden>
>
> For the error case such as SD_RES_NO_SPACE, we shouldn't update the inode
> bitmap
> to avoid the scenario that the object is allocated but wasn't created at the
> server side. This will result in VM's IO error on the failed object.
>
> Cc: MORITA Kazutaka <address@hidden>
> Cc: Kevin Wolf <address@hidden>
> Signed-off-by: Liu Yuan <address@hidden>
> ---
> block/sheepdog.c | 9 +++++----
> 1 file changed, 5 insertions(+), 4 deletions(-)
Reviewed-by: MORITA Kazutaka <address@hidden>