Skip to content

NFS: Add an nfs4_call_sync_custom() function

[email protected] linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6NFS: Add an nfs4_call_sync_custom() functionfs/nfs/nfs4proc.c+15 -100 replies
2/6NFS: Have nfs4_proc_setclientid() call nfs4_call_sync_custom()fs/nfs/nfs4proc.c+2 -80 replies
3/6NFS: Have _nfs4_proc_secinfo() call nfs4_call_sync_custom()fs/nfs/nfs4proc.c+21 -80 replies
4/6NFS: Have nfs41_proc_reclaim_complete() call nfs4_call_sync_custom()fs/nfs/nfs4proc.c+2 -115 replies
5/6NFS: Have nfs41_proc_secinfo_no_name() call nfs4_call_sync_custom()fs/nfs/nfs4proc.c+16 -20 replies
6/6NFS: Have nfs4_proc_get_lease_time() call nfs4_call_sync_custom()fs/nfs/nfs4proc.c+1 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] NFS: Add an nfs4_call_sync_custom() function

From: Anna Schumaker <[email protected]>

The nfs4_call_sync() function creates a default rpc_task_setup structure that works for most, but not all, cases. We have some code duplication in functions that can't use nfs4_call_sync(), so these patches aim to help with that and make it easier to customize synchronous RPC calls in the future

Anna.

Anna Schumaker (6):
NFS: Add an nfs4_call_sync_custom() function
NFS: Have nfs4_proc_setclientid() call nfs4_call_sync_custom()
NFS: Have _nfs4_proc_secinfo() call nfs4_call_sync_custom()
NFS: Have nfs41_proc_reclaim_complete() call nfs4_call_sync_custom()
NFS: Have nfs41_proc_secinfo_no_name() call nfs4_call_sync_custom()
NFS: Have nfs4_proc_get_lease_time() call nfs4_call_sync_custom()

 fs/nfs/nfs4proc.c | 106 +++++++++++++++++++++++++---------------------
 1 file changed, 57 insertions(+), 49 deletions(-)
Signature · 1 line
2.22.1