]> 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:35:57 +0000 (16:35 +0200)
commit40613ea1d5ea36c97b11732ea5327dca87388929
tree922fb50bad36fb2fdbe6266636a23e6c62415de5
parentf4a192cd7b25e571bdcde0daafb360e6b8327c87
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