diff options
| author | Gui-Dong Han <hanguidong02@gmail.com> | 2026-05-29 15:54:41 +0800 |
|---|---|---|
| committer | Dominique Martinet <asmadeus@codewreck.org> | 2026-06-21 05:22:57 +0000 |
| commit | aa88278693cbfaf7a2acf961379973fbb63b165c (patch) | |
| tree | 410f74d9355c679a014d366184c2008cb28d51de /scripts/dummy-tools/python3 | |
| parent | cc8b15a2c435bd1caf19741ba85286846a115764 (diff) | |
9p: Add missing read barrier in virtio zero-copy path
Commit 2b6e72ed747f ("9P: Add memory barriers to protect request
fields over cb/rpc threads handoff") added a read barrier after
p9_client_rpc() waits for req->status, pairing with the write barrier in
p9_client_cb(). The virtio zero-copy wait path was missed.
Add the same read barrier after the zero-copy wait before reading the
completed request.
Fixes: 2b6e72ed747f ("9P: Add memory barriers to protect request fields over cb/rpc threads handoff")
Signed-off-by: Gui-Dong Han <hanguidong02@gmail.com>
Message-ID: <20260529075441.233369-1-hanguidong02@gmail.com>
Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
Diffstat (limited to 'scripts/dummy-tools/python3')
0 files changed, 0 insertions, 0 deletions
