Re: [Libguestfs] [nbdkit PATCH] RFC: blocksize: Add test for sharding behavior

2022-05-26 Thread Eric Blake
On Thu, May 26, 2022 at 09:58:50AM +0100, Richard W.M. Jones wrote: > > Is there any way to do this without the literal sleeps? Gitlab CI in > particular appears to be very contended (I guess it runs in parallel > on huge systems with vast numbers of unrelated containers). I've seen > threads

Re: [Libguestfs] [nbdkit PATCH] RFC: blocksize: Add test for sharding behavior

2022-05-26 Thread Nikolaus Rath
On May 26 2022, "Richard W.M. Jones" wrote: > Is there any way to do this without the literal sleeps? Gitlab CI in > particular appears to be very contended (I guess it runs in parallel > on huge systems with vast numbers of unrelated containers). I've seen > threads being created that are so

Re: [Libguestfs] [nbdkit PATCH] RFC: blocksize: Add test for sharding behavior

2022-05-26 Thread Laszlo Ersek
On 05/26/22 04:18, Eric Blake wrote: > Demonstrate the bug where an aligned write can be lost if it races > between the read and write of a RMW unaligned write. > --- > > Sending this out for review of the test; it fails (which it is > supposed to as long as I don't fix the blocksize filter), but

Re: [Libguestfs] [nbdkit PATCH] RFC: blocksize: Add test for sharding behavior

2022-05-26 Thread Daniel P . Berrangé
On Thu, May 26, 2022 at 09:58:50AM +0100, Richard W.M. Jones wrote: > > Is there any way to do this without the literal sleeps? Gitlab CI in > particular appears to be very contended (I guess it runs in parallel > on huge systems with vast numbers of unrelated containers). I've seen > threads

Re: [Libguestfs] [nbdkit PATCH] RFC: blocksize: Add test for sharding behavior

2022-05-26 Thread Richard W.M. Jones
Is there any way to do this without the literal sleeps? Gitlab CI in particular appears to be very contended (I guess it runs in parallel on huge systems with vast numbers of unrelated containers). I've seen threads being created that are so starved they never run at all even in tests running

[Libguestfs] [nbdkit PATCH] RFC: blocksize: Add test for sharding behavior

2022-05-25 Thread Eric Blake
Demonstrate the bug where an aligned write can be lost if it races between the read and write of a RMW unaligned write. --- Sending this out for review of the test; it fails (which it is supposed to as long as I don't fix the blocksize filter), but I hope it starts passing once I also patch the