[Libguestfs] [PATCH nbdkit v5 FINAL 09/19] log: Log extents requests.

Eric Blake eblake at redhat.com
Sat Apr 27 19:56:18 UTC 2019


On 3/28/19 11:18 AM, Richard W.M. Jones wrote:
> Typical output:
> 

> +++ b/filters/log/log.c
> @@ -353,6 +353,50 @@ log_zero (struct nbdkit_next_ops *next_ops, void *nxdata,
>    return r;
>  }
>  
> +/* Extents. */
> +static int
> +log_extents (struct nbdkit_next_ops *next_ops, void *nxdata,
> +             void *handle, uint32_t count, uint64_t offs, uint32_t flags,
> +             struct nbdkit_extents *extents, int *err)
> +{

Missed a change to log_prepare() so that the log will include results of
.can_extents. I've pushed the obvious fix.

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20190427/66032121/attachment.sig>


More information about the Libguestfs mailing list