]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Apr 2024 14:38:09 +0000 (16:38 +0200)
commita751a20c8b91c1343f074468fee6cc9e721c8a1e
tree1ffa7b1dc7f6bf7c5c3821c64ab4447523390d9b
parent2baacef099912015d230834ac925268e5c281719
9p: Fix read/write debug statements to report server reply

[ Upstream commit be3193e58ec210b2a72fb1134c2a0695088a911d ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/9p/client.c