]> git.baikalelectronics.ru Git - kernel.git/commit
sunrpc: flag transports as having congestion control
authorJeff Layton <jlayton@redhat.com>
Fri, 24 Feb 2017 18:25:23 +0000 (13:25 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 24 Feb 2017 21:55:46 +0000 (16:55 -0500)
commit35d567dcf2502cad197f1e63015d1b367ed01d4b
treed8069aae1c1aa73a17ee47ec0df3391cb01fdee2
parent602696237eb2f0ce7b4444a0583cb6bcdf433eca
sunrpc: flag transports as having congestion control

NFSv4 requires a transport protocol with congestion control in most
cases.

On an IP network, that means that NFSv4 over UDP should be forbidden.

The situation with RDMA is a bit more nuanced, but most RDMA transports
are suitable for this. For now, we assume that all RDMA transports are
suitable, but we may need to revise that at some point.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
include/linux/sunrpc/svc_xprt.h
net/sunrpc/svcsock.c
net/sunrpc/xprtrdma/svc_rdma_transport.c