Re: [PATCH net-next v5 3/5] vsock/test: Introduce vsock_wait_sent() helper
From: Michal Luczaj <hidden>
Date: 2025-05-21 23:07:02
Also in:
kvm, lkml, virtualization
From: Michal Luczaj <hidden>
Date: 2025-05-21 23:07:02
Also in:
kvm, lkml, virtualization
On 5/21/25 17:01, Stefano Garzarella wrote:
On Wed, May 21, 2025 at 12:55:21AM +0200, Michal Luczaj wrote:quoted
... +/* Wait until transport reports no data left to be sent. + * Return non-zero if transport does not implement the unsent_bytes() callback. + */ +int vsock_wait_sent(int fd)nit: I just see we use `bool` in the test to store the result of this function, so maybe we can return `bool` directl from here... (not a strong opinion, it's fine also this).
Yeah, why not, let's do bool. Thanks, Michal