Re: [Libguestfs] [libnbd PATCH 3/4] api: Add new nbd_stats_*() statistics counters

2022-09-05 Thread Richard W.M. Jones
On Mon, Sep 05, 2022 at 02:12:24PM +0200, Laszlo Ersek wrote: > On 09/03/22 18:30, Richard W.M. Jones wrote: > > On Fri, Sep 02, 2022 at 05:14:24PM -0500, Eric Blake wrote: > >> I was trying to write a test that determined whether a failure was due > >> to a short-circuit test on the client side

Re: [Libguestfs] [libnbd PATCH 3/4] api: Add new nbd_stats_*() statistics counters

2022-09-05 Thread Laszlo Ersek
On 09/03/22 18:30, Richard W.M. Jones wrote: > On Fri, Sep 02, 2022 at 05:14:24PM -0500, Eric Blake wrote: >> I was trying to write a test that determined whether a failure was due >> to a short-circuit test on the client side or an actual failure >> returned by the server. Such a test is a lot

Re: [Libguestfs] [libnbd PATCH 3/4] api: Add new nbd_stats_*() statistics counters

2022-09-03 Thread Richard W.M. Jones
On Fri, Sep 02, 2022 at 05:14:24PM -0500, Eric Blake wrote: > I was trying to write a test that determined whether a failure was due > to a short-circuit test on the client side or an actual failure > returned by the server. Such a test is a lot easier if we can watch > status counters increase

[Libguestfs] [libnbd PATCH 3/4] api: Add new nbd_stats_*() statistics counters

2022-09-02 Thread Eric Blake
I was trying to write a test that determined whether a failure was due to a short-circuit test on the client side or an actual failure returned by the server. Such a test is a lot easier if we can watch status counters increase according to how much traffic goes over the wire. We may add more