diff options
| author | Zhang Tianci <zhangtianci.1997@bytedance.com> | 2026-02-26 14:55:49 +0300 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2026-06-10 09:16:59 +0300 |
| commit | 373ec43ded742b2f3aecf14731ffe1a57f438f38 (patch) | |
| tree | b9f2656e42d04348f330cf027bd3f09025e6f035 /include | |
| parent | c3c33e002b58ebcbd6c5f6e00643f7437546e4f7 (diff) | |
| download | linux-373ec43ded742b2f3aecf14731ffe1a57f438f38.tar.xz | |
vduse: Requeue failed read to send_list head
When copy_to_iter() fails in vduse_dev_read_iter(), put the message back
at the head of send_list to preserve FIFO ordering and retry the oldest
pending request first.
Fixes: c8a6153b6c59 ("vduse: Introduce VDUSE - vDPA Device in Userspace")
Reported-by: Michael S. Tsirkin <mst@redhat.com>
Suggested-by: Xie Yongji <xieyongji@bytedance.com>
Signed-off-by: Zhang Tianci <zhangtianci.1997@bytedance.com>
Reviewed-by: Xie Yongji <xieyongji@bytedance.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Acked-by: Eugenio Pérez <eperezma@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20260226115550.1814-2-zhangtianci.1997@bytedance.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
