linux-xiaomi-chiron/include/linux/sunrpc
NeilBrown 89c2be8a95 NFS: discard NFS_RPC_SWAPFLAGS and RPC_TASK_ROOTCREDS
NFS_RPC_SWAPFLAGS is only used for READ requests.
It sets RPC_TASK_SWAPPER which gives some memory-allocation priority to
requests.  This is not needed for swap READ - though it is for writes
where it is set via a different mechanism.

RPC_TASK_ROOTCREDS causes the 'machine' credential to be used.
This is not needed as the root credential is saved when the swap file is
opened, and this is used for all IO.

So NFS_RPC_SWAPFLAGS isn't needed, and as it is the only user of
RPC_TASK_ROOTCREDS, that isn't needed either.

Remove both.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
2022-03-13 12:59:35 -04:00
..
addr.h
auth.h SUNRPC/auth: async tasks mustn't block waiting for memory 2022-03-13 12:59:35 -04:00
auth_gss.h
bc_xprt.h Replace HTTP links with HTTPS ones: NFS, SUNRPC, and LOCKD clients 2020-09-21 10:21:10 -04:00
cache.h kernel.h: split out kstrtox() and simple_strtox() to a separate header 2021-07-01 11:06:05 -07:00
clnt.h SUNRPC: Per-rpc_clnt task PIDs 2021-10-10 11:05:54 +02:00
debug.h
gss_api.h
gss_asn1.h
gss_err.h
gss_krb5.h
gss_krb5_enctypes.h
metrics.h
msg_prot.h SUNRPC: Add RPC_AUTH_TLS protocol numbers 2021-08-17 11:47:53 -04:00
rpc_pipe_fs.h
rpc_rdma.h
rpc_rdma_cid.h
sched.h NFS: discard NFS_RPC_SWAPFLAGS and RPC_TASK_ROOTCREDS 2022-03-13 12:59:35 -04:00
stats.h
svc.h Merge branch 'signal-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2022-01-17 05:49:30 +02:00
svc_rdma.h svcrdma: Convert rdma->sc_rw_ctxts to llist 2021-08-17 11:47:53 -04:00
svc_rdma_pcl.h svcrdma: Add a "parsed chunk list" data structure 2020-11-30 13:00:22 -05:00
svc_xprt.h SUNRPC: Export svc_xprt_received() 2021-03-22 13:22:13 -04:00
svcauth.h SUNRPC: Add svc_rqst::rq_auth_stat 2021-08-10 14:18:35 -04:00
svcauth_gss.h
svcsock.h SUNRPC: Use TCP_CORK to optimise send performance on the server 2021-02-16 12:32:31 -05:00
timer.h
types.h
xdr.h SUNRPC: Add RPC_AUTH_TLS protocol numbers 2021-08-17 11:47:53 -04:00
xprt.h NFS Client Updates for Linux 5.15 2021-09-04 10:25:26 -07:00
xprtmultipath.h SUNRPC keep track of number of transports to unique addresses 2021-08-27 16:36:53 -04:00
xprtrdma.h
xprtsock.h SUNRPC query transport's source port 2021-07-08 14:03:24 -04:00