rfs: call sock_rps_record_flow() in tcp_splice_read()
Subsystems (3)
PATCH 1/1 rfs: call sock_rps_record_flow() in tcp_splice_read()
rfs: call sock_rps_record_flow() in tcp_splice_read()
call sock_rps_record_flow() in tcp_splice_read(), so the applications using splice(2) or sendfile(2) can utilize RFS.
Signed-off-by Changli Gao <[email protected]>
----
net/ipv4/tcp.c | 1 + 1 file changed, 1 insertion(+)
net/ipv4/tcp.c +1 -0
@@ -608,6 +608,7 @@ ssize_t tcp_splice_read(struct socket *sock, loff_t *ppos,ssize_t spliced;int ret; +sock_rps_record_flow (sk);/* * We can't seek on a socket input */
From: Changli Gao <[email protected]>
Date: Tue, 13 Jul 2010 15:00:12 +0800
Quoted 6 lines
rfs: call
sock_rps_record_flow()intcp_splice_read()call
sock_rps_record_flow()intcp_splice_read(), so the applications using splice(2) or sendfile(2) can utilize RFS.Signed-off-by Changli Gao <[email protected]>
Applied, thanks.