9p: Fix read/write debug statements to report server reply
authorDominique Martinet <asmadeus@codewreck.org>
Tue, 9 Jan 2024 03:39:03 +0000 (12:39 +0900)
committerDominique Martinet <asmadeus@codewreck.org>
Mon, 12 Feb 2024 12:18:54 +0000 (21:18 +0900)
commitbe3193e58ec210b2a72fb1134c2a0695088a911d
treedc7259d98c338a1f8c0aa0cfa3374311e9ebd7da
parent7013482ff5945aee7390c55ababcb390de1a4aad
9p: Fix read/write debug statements to report server reply

Previous conversion to iov missed these debug statements which would now
always print the requested size instead of the actual server reply.

Write also added a loop in a much older commit but we didn't report
these, while reads do report each iteration -- it's more coherent to
keep reporting all requests to server so move that at the same time.

Fixes: 7f02464739da ("9p: convert to advancing variant of iov_iter_get_pages_alloc()")
Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
Message-ID: <20240109-9p-rw-trace-v1-1-327178114257@codewreck.org>
net/9p/client.c