SUNRPC: Remove XDRBUF_SPARSE_PAGES flag in gss_proxy upcall
authorChuck Lever <chuck.lever@oracle.com>
Tue, 24 Nov 2020 20:48:01 +0000 (15:48 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Wed, 9 Dec 2020 14:38:34 +0000 (09:38 -0500)
commit5e54dafbe0b4a2a8555ecf0b9690150da37ee0e1
tree49f1fb6aef3d304ee32557a126828896a0c9f51c
parent4b5cff7ed8afcdd35bfff39ab503342900ec80c6
SUNRPC: Remove XDRBUF_SPARSE_PAGES flag in gss_proxy upcall

There's no need to defer allocation of pages for the receive buffer.

- This upcall is quite infrequent
- gssp_alloc_receive_pages() can allocate the pages with GFP_KERNEL,
  unlike the transport
- gssp_alloc_receive_pages() knows exactly how many pages are needed

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Olga Kornievskaia <kolga@netapp.com>
net/sunrpc/auth_gss/gss_rpc_upcall.c
net/sunrpc/auth_gss/gss_rpc_xdr.c