qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v6 12/13] blkio: implement BDRV_REQ_REGISTERED_BUF optimizati


From: Stefan Hajnoczi
Subject: Re: [PATCH v6 12/13] blkio: implement BDRV_REQ_REGISTERED_BUF optimization
Date: Thu, 13 Oct 2022 14:42:18 -0400

On Mon, Oct 10, 2022 at 02:57:47PM +0100, Alberto Faria wrote:
> On Thu, Oct 6, 2022 at 10:35 PM Stefan Hajnoczi <stefanha@redhat.com> wrote:
> > @@ -620,15 +767,39 @@ static int blkio_file_open(BlockDriverState *bs, 
> > QDict *options, int flags,
> >          return ret;
> >      }
> >
> > +    ret = blkio_get_bool(s->blkio,
> > +                         "mem-regions-pinned",
> 
> Should the property be named "may-pin-mem-regions" or similar? For
> drivers like vhost-user we may not be able to determine for sure
> whether memory regions will be pinned, and making that uncertainty
> explicit in the name may be a good idea, for instance to ensure users
> don't decide to rely on memory regions being pinned when the property
> is true.

Sounds good to me. I'll change the property name in this patch and then
send a libblkio patch that adds the property.

Stefan

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]