On Fri, 04/21 10:37, Eric Blake wrote: > On 04/20/2017 10:55 PM, Fam Zheng wrote: > > Signed-off-by: Fam Zheng <f...@redhat.com> > > --- > > qemu-img-cmds.hx | 48 ++++++++++++++++++++++++------------------------ > > 1 file changed, 24 insertions(+), 24 deletions(-) > > > > diff --git a/qemu-img-cmds.hx b/qemu-img-cmds.hx > > index 8ac7822..1b00bb8 100644 > > --- a/qemu-img-cmds.hx > > +++ b/qemu-img-cmds.hx > > @@ -10,15 +10,15 @@ STEXI > > ETEXI > > > > DEF("bench", img_bench, > > - "bench [-c count] [-d depth] [-f fmt] > > [--flush-interval=flush_interval] [-n] [--no-drain] [-o offset] > > [--pattern=pattern] [-q] [-s buffer_size] [-S step_size] [-t cache] [-w] > > filename") > > + "bench [-c count] [-d depth] [-f fmt] > > [--flush-interval=flush_interval] [-n] [--no-drain] [-o offset] > > [--pattern=pattern] [-q] [-s buffer_size] [-S step_size] [-t cache] [-w] > > [--share-rw] filename") > > General comment - it seems that we favor the short-option spelling where > one exists; should all of these updates mention -U instead of --share-rw?
OK, I can change it. > > Also, why did you rename it from --unsafe-reads in an earlier revision? > After all, if I'm understanding this flag correctly, what you are asking > for is the ability to read the image in spite of other simultaneous > writers that may make your reads inconsistent. It was a result of discussion with Kevin on IRC - consistent read as in the new op blocker API is specifically for the state of the intermediate nodes in commit job, and is orthogonal to the share-rw semantics as added to qdev. This option here for qemu-img/qemu-io, is more close to the latter, thus the name is updated to reflect its use case better. Fam