Re: [Nbd] [PATCH 1/3] nbd: support FLUSH requests
Brought to you by:
yoe
|
From: Paul C. <pau...@us...> - 2013-02-12 23:03:56
|
On Tue, Feb 12, 2013 at 11:06 AM, Paolo Bonzini <pbo...@re...> wrote: > From: Alex Bligh <al...@al...> > > 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...@li...> > Cc: Paul Clements <Pau...@st...> > Cc: Andrew Morton <ak...@li...> > Signed-off-by: Alex Bligh <al...@al...> Looks good. Acked-by: Pau...@st... |