Name

xprt_reserve_xprt — serialize write access to transports

Synopsis

int xprt_reserve_xprt (struct rpc_xprt * xprt,
 struct rpc_task * task);
 

Arguments

struct rpc_xprt * xprt

pointer to the target transport

struct rpc_task * task

task that is requesting access to the transport

Description

This prevents mixing the payload of separate requests, and prevents transport connects from colliding with writes. No congestion control is provided.