diff options
| author | Remi Pommarel <repk@triplefau.lt> | 2026-01-23 15:48:08 +0100 |
|---|---|---|
| committer | Dominique Martinet <asmadeus@codewreck.org> | 2026-01-29 07:33:36 +0000 |
| commit | 51ffeabe836bc45ea2f794f8ea5855fc0be8b9fb (patch) | |
| tree | 5bfbfdf700ce24c61dc49fc41269e375b48a16b3 /net/9p/trans_xen.c | |
| parent | ca136b2553084120a1f864f14f4bc70f08cb6420 (diff) | |
9p: Track 9P RPC waiting time as IO
Use io_wait_event_killable() to ensure that time spent waiting for 9P
RPC transactions is accounted as IO wait time.
Signed-off-by: Remi Pommarel <repk@triplefau.lt>
Message-ID: <b8601271263011203fa34eada2e8ac21d9f679e5.1769179462.git.repk@triplefau.lt>
Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
Diffstat (limited to 'net/9p/trans_xen.c')
| -rw-r--r-- | net/9p/trans_xen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/9p/trans_xen.c b/net/9p/trans_xen.c index 12f752a92332..d57965e6aab0 100644 --- a/net/9p/trans_xen.c +++ b/net/9p/trans_xen.c @@ -136,8 +136,8 @@ static int p9_xen_request(struct p9_client *client, struct p9_req_t *p9_req) ring = &priv->rings[num]; again: - while (wait_event_killable(ring->wq, - p9_xen_write_todo(ring, size)) != 0) + while (io_wait_event_killable(ring->wq, + p9_xen_write_todo(ring, size)) != 0) ; spin_lock_irqsave(&ring->lock, flags); |
