Displaying 3 results from an estimated 3 matches for "57a51aee".
2020 Jul 07
0
[nbdkit PATCH 3/3] RFC swab: Re-enable .extents
...st be aligned
nbdkit: backend.c:621: backend_extents: Assertion `*err' failed.
qemu-img: Could not read file metadata: Input/output error
---
filters/swab/swab.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/filters/swab/swab.c b/filters/swab/swab.c
index 57a51aee..2e423bbf 100644
--- a/filters/swab/swab.c
+++ b/filters/swab/swab.c
@@ -191,15 +191,15 @@ swab_zero (struct nbdkit_next_ops *next_ops, void *nxdata,
return next_ops->zero (nxdata, count, offset, flags, err);
}
-/* FIXME: Extents could be useful, but if the underlying plugin ever reports
-...
2020 Jul 08
1
Re: [nbdkit PATCH 3/3] RFC swab: Re-enable .extents
...w you exactly what
requests qemu-img is making. The assert failure seems to be a
separate and worrying problem.
Rich.
> filters/swab/swab.c | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/filters/swab/swab.c b/filters/swab/swab.c
> index 57a51aee..2e423bbf 100644
> --- a/filters/swab/swab.c
> +++ b/filters/swab/swab.c
> @@ -191,15 +191,15 @@ swab_zero (struct nbdkit_next_ops *next_ops, void *nxdata,
> return next_ops->zero (nxdata, count, offset, flags, err);
> }
>
> -/* FIXME: Extents could be useful, but if th...
2020 Jul 07
6
[RFC nbdkit PATCH 0/3] aligned .extents
Ultimately, both the blocksize and swab filters want to return aligned
extents to the client. I'm posting this as a snapshot of my work in
progress on how I plan to get there (it's not quite working yet, but
I'm done for today and wanted to at least document my ideas).
I might also add a convenience function for nbdkit_extents_offset,
since we have a number of filters that repeat the