diff options
| author | 2025-07-08 14:36:13 +0800 | |
|---|---|---|
| committer | 2025-07-09 19:29:52 -0700 | |
| commit | 53548d6bffacc610ee883d3c0e99eb476fb606d3 (patch) | |
| tree | 0186f3b408c34a6aa75fb74854a1f557c0af9a25 /fs/btrfs/tree-log.c | |
| parent | vsock: Add support for SIOCINQ ioctl (diff) | |
| download | wireguard-linux-53548d6bffacc610ee883d3c0e99eb476fb606d3.tar.xz wireguard-linux-53548d6bffacc610ee883d3c0e99eb476fb606d3.zip | |
test/vsock: Add retry mechanism to ioctl wrapper
Wrap the ioctl in `ioctl_int()`, which takes a pointer to the actual
int value and an expected int value. The function will not return until
either the ioctl returns the expected value or a timeout occurs, thus
avoiding immediate failure.
Signed-off-by: Xuewei Niu <niuxuewei.nxw@antgroup.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Reviewed-by: Luigi Leonardi <leonardi@redhat.com>
Link: https://patch.msgid.link/20250708-siocinq-v6-3-3775f9a9e359@antgroup.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions
