SUNRPC: Remove XDRBUF_SPARSE_PAGES flag in gss_proxy upcall
authorChuck Lever <chuck.lever@oracle.com>
Mon, 30 Nov 2020 19:58:19 +0000 (14:58 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 2 Dec 2020 15:06:52 +0000 (10:06 -0500)
commit0359af7ac318495432e5a06f671c80dc29274f18
treea416f138161de7fd451b7cdf418caaa6273e87fb
parent63e2fffa59a9dd91e443b08832656399fd80b7f0
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 <aglo@umich.edu>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/auth_gss/gss_rpc_upcall.c
net/sunrpc/auth_gss/gss_rpc_xdr.c