Don't touch rpc_xprt directly in lockd
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | NFS: Introduce nlm client setup functionfs/ include/ | +51 | 1 reply | |
| 2/4 | NLM: Introduce completion function to match nlmclnt_initfs/ include/ | +13 | 3 replies | |
| 3/4 | NFS: Invoke nlmclnt_init during NFS mount processingfs/ include/ | +20 | 1 reply | |
| 4/4 | NFS: Use cached nlm_host when calling nlmclnt_proc()fs/ | +4 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] Don't touch rpc_xprt directly in lockd
Hi Trond-
Here's a set of patches that remove lockd's dependence on the rpc_xprt.prot field in nlmclnt_proc().
There are a few reasons to remove this dependence, including:
1. The NFS client is now fully in control of selecting which transport protocol is chosen for the sideband NLM protocol (use UDP only if NFS over UDP is specified; otherwise TCP is used).
2. Looking at fields in the rpc_xprt structure in an upper-level protocol implementation is a layering violation.
3. The rpc_xprt.prot field is overloaded -- it's used to control RPC binding as well as which transport protocol is used for sideband protocols.
4. Removing the nlmclnt_lookup_host() call from nlmclnt_proc() eliminates work that is unnecessarily repeated for each NLM request.
This patch series should replace the four I sent you last week for review. Please consider them for 2.6.25.
Signature · 1 line
corporate: <chuck dot lever at oracle dot com>