On 02/16/2017 03:00 AM, jazeltq@xxxxxxxxx wrote: > From: tianqing <tianqing@xxxxxxxxxxxxxxx> > > Rbd can do readv and writev directly, so wo do not need to transform > iov to buf or vice versa any more. In general, we prefer new revisions of a patch series to be sent as a new top-level thread, rather than buried in-reply-to the earlier revision, as nesting can mess up some of the automated tooling that tests whether a patch will introduce problems. > > Signed-off-by: tianqing <tianqing@xxxxxxxxxxxxxxx> > --- > block/rbd.c | 49 ++++++++++++++++++++++++++++++++++++++++++------- > 1 file changed, 42 insertions(+), 7 deletions(-) > > diff --git a/block/rbd.c b/block/rbd.c > index a57b3e3..75ae1d6 100644 > --- a/block/rbd.c > +++ b/block/rbd.c > @@ -47,7 +47,7 @@ > */ > > /* rbd_aio_discard added in 0.1.2 */ > -#if LIBRBD_VERSION_CODE >= LIBRBD_VERSION(0, 1, 2) > +#if LIBRBD_VERSION_CODE >= LIBRBD_VERSION(12, 0, 0) Does the comment need updating, too? -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature