Displaying 3 results from an estimated 3 matches for "swab_zero".
2020 Jul 07
0
[nbdkit PATCH 3/3] RFC swab: Re-enable .extents
...ot 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
- * values not aligned to 2 bytes, it is complicated to adjust that correctly.
- * In the short term, w...
2020 Jul 08
1
Re: [nbdkit PATCH 3/3] RFC swab: Re-enable .extents
...ich.
> 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
> - * values not aligned to 2 bytes, it is complicated to adjust that correctly....
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