Re: [Nbd] [PATCH 1/3] nbd: support FLUSH requests
- To: Paolo Bonzini <pbonzini@...696...>
- Cc: Andrew Morton <akpm@...133...>, nbd-general@...72..., linux-kernel@...25...
- Subject: Re: [Nbd] [PATCH 1/3] nbd: support FLUSH requests
- From: Paul Clements <paul.clements@...856...>
- Date: Tue, 12 Feb 2013 17:07:41 -0500
- Message-id: <CAECXXi48FL94m=hUZYRWgS=5Z3R1J5oZsOjX65X6utfZdBafnA@...18...>
- In-reply-to: <1360685171-3792-2-git-send-email-pbonzini@...696...>
- References: <1360685171-3792-1-git-send-email-pbonzini@...696...> <1360685171-3792-2-git-send-email-pbonzini@...696...>
On Tue, Feb 12, 2013 at 11:06 AM, Paolo Bonzini <pbonzini@...696...> wrote:
> From: Alex Bligh <alex@...872...>
>
> The NBD device does not support writeback caching, thus it is not safe
> against power losses unless the client opens the target with O_DSYNC or
> O_SYNC.
>
> Add support for a new flag that the server can pass. If the flag is
> enabled, we translate REQ_FLUSH requests into the NBD_CMD_FLUSH
> command.
>
> Cc: <nbd-general@...72...>
> Cc: Paul Clements <Paul.Clements@...124...>
> Cc: Andrew Morton <akpm@...133...>
> Signed-off-by: Alex Bligh <alex@...872...>
Looks good.
Acked-by: Paul.Clements@...124...
Reply to: