Re: [PATCH 1/3] nbd: support FLUSH requests

From: Paul Clements
Date: Tue Feb 12 2013 - 17:07:51 EST


On Tue, Feb 12, 2013 at 11:06 AM, Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote:
> From: Alex Bligh <alex@xxxxxxxxxxx>
>
> 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@xxxxxxxxxxxx>
> Cc: Paul Clements <Paul.Clements@xxxxxxxxxxxx>
> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Alex Bligh <alex@xxxxxxxxxxx>

Looks good.

Acked-by: Paul.Clements@xxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/