On Tue, Feb 22, 2022 at 09:35:04PM +, Richard W.M. Jones wrote:
> Thanks: Eric Blake
> ---
> common/include/minmax.h | 21 +
> common/include/test-minmax.c | 14 ++
> 2 files changed, 27 insertions(+), 8 deletions(-)
ACK.
--
Eric Blake, Principal
On Tue, Feb 22, 2022 at 09:35:03PM +, Richard W.M. Jones wrote:
> Previously the macros used __LINE__ which meant they created a unique
> name specific to the line on which the macro was expanded. This
> worked to a limited degree for cases like:
>
> #define FOO \
> ({ int
On Tue, Feb 22, 2022 at 09:35:02PM +, Richard W.M. Jones wrote:
> Not tested very much yet. I need to test them across a lot more
> platforms and compilers. However for a first cut they look good.
I tested the patches now on:
- FreeBSD
- OpenBSD
- clang on Linux
- mingw-w64 (Fedora
Thanks: Eric Blake
---
common/include/minmax.h | 21 +
common/include/test-minmax.c | 14 ++
2 files changed, 27 insertions(+), 8 deletions(-)
diff --git a/common/include/minmax.h b/common/include/minmax.h
index d3e667ea..8d1fbf19 100644
---
Previously the macros used __LINE__ which meant they created a unique
name specific to the line on which the macro was expanded. This
worked to a limited degree for cases like:
#define FOO \
({ int NBDKIT_UNIQUE_NAME(foo) = 42; \
NBDKIT_UNIQUE_NAME(foo) * 2 })
since the “FOO”
Not tested very much yet. I need to test them across a lot more
platforms and compilers. However for a first cut they look good.
Rich.
___
Libguestfs mailing list
Libguestfs@redhat.com
https://listman.redhat.com/mailman/listinfo/libguestfs
On Tue, Feb 22, 2022 at 12:49:13PM +0100, Laszlo Ersek wrote:
> On 02/21/22 23:00, Eric Blake wrote:
> > We were previously enforcing minimum block size with EINVAL for
> > too-small requests. Advertise this to the client.
> > ---
> > filters/swab/nbdkit-swab-filter.pod | 6 ++
> >
On 02/21/22 23:00, Eric Blake wrote:
> We were previously enforcing minimum block size with EINVAL for
> too-small requests. Advertise this to the client.
> ---
> filters/swab/nbdkit-swab-filter.pod | 6 ++
> filters/swab/swab.c | 24 +++-
> 2 files
On Mon, Feb 21, 2022 at 5:41 PM Eric Blake wrote:
>
> On Sun, Feb 20, 2022 at 02:14:03PM +0200, Nir Soffer wrote:
> > Limit the size of the copy queue also by the number of queued bytes.
> > This allows using many concurrent small requests, required to get good
> > performance, but limiting the
On Mon, Feb 21, 2022 at 5:08 PM Eric Blake wrote:
>
> On Sun, Feb 20, 2022 at 02:13:59PM +0200, Nir Soffer wrote:
> > free_command() was abused as a completion callback. Introduce
> > finish_command() completion callback, so code that want to free a
> > command does not have to add dummy errors.
On Mon, Feb 21, 2022 at 5:03 PM Eric Blake wrote:
>
> On Sun, Feb 20, 2022 at 02:13:58PM +0200, Nir Soffer wrote:
> > Creating a new command requires lot of boilerplate that makes it harder
> > to focus on the interesting code. Extract a helpers to create a command,
> > and the command slice
On Mon, Feb 21, 2022 at 4:52 PM Eric Blake wrote:
>
> On Sun, Feb 20, 2022 at 02:13:57PM +0200, Nir Soffer wrote:
> > copy_subcommand creates a new command without copying the original
> > command. Rename the function to make this more clear.
> >
> > Signed-off-by: Nir Soffer
> > ---
> >
On Mon, Feb 21, 2022 at 4:51 PM Eric Blake wrote:
>
> On Sun, Feb 20, 2022 at 02:13:56PM +0200, Nir Soffer wrote:
> > In the past nbdcopy was looking for hole extents instead of zero
> > extents. When we fixed this, we forgot to update some comments and
> > variable names referencing hole instead
On Tue, Feb 22, 2022 at 11:14:18AM +0100, Laszlo Ersek wrote:
> On 02/21/22 16:56, Richard W.M. Jones wrote:
> > On Mon, Feb 21, 2022 at 03:10:02PM +0100, Laszlo Ersek wrote:
> >> Hi,
> >>
> >> "make check" in libguestfs takes very long (especially when it's run
> >> after every patch in a
On 02/21/22 16:56, Richard W.M. Jones wrote:
> On Mon, Feb 21, 2022 at 03:10:02PM +0100, Laszlo Ersek wrote:
>> Hi,
>>
>> "make check" in libguestfs takes very long (especially when it's run
>> after every patch in a series).
>>
>> How can I run only those tests that are, for example, in
On 02/21/22 15:32, Richard W.M. Jones wrote:
>
> On Mon, Feb 21, 2022 at 03:19:23PM +0100, Laszlo Ersek wrote:
>> On 02/21/22 11:22, Richard W.M. Jones wrote:
>>> On Mon, Feb 21, 2022 at 10:22:04AM +0100, Laszlo Ersek wrote:
> +/* Block size constraints. */
> +static int
>
16 matches
Mail list logo