2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-19 02:34:01 +08:00
linux-next/fs/lockd
NeilBrown d343fce148 [PATCH] knfsd: Allow lockd to drop replies as appropriate
It is possible for the ->fopen callback from lockd into nfsd to find that an
answer cannot be given straight away (an upcall is needed) and so the request
has to be 'dropped', to be retried later.  That error status is not currently
propagated back.

So:
  Change nlm_fopen to return nlm error codes (rather than a private
  protocol) and define a new nlm_drop_reply code.
  Cause nlm_drop_reply to cause the rpc request to get rpc_drop_reply
  when this error comes back.
  Cause svc_process to drop a request which returns a status of
  rpc_drop_reply.

[akpm@osdl.org: fix warning storm]
Cc: Marc Eshel <eshel@almaden.ibm.com>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-17 08:18:46 -07:00
..
clntlock.c [PATCH] knfsd: lockd: fix use of h_nextrebind 2006-10-04 07:55:18 -07:00
clntproc.c [PATCH] knfsd: make nlmclnt_next_cookie SMP safe 2006-10-04 07:55:17 -07:00
host.c [PATCH] knfsd: lockd: fix refount on nsm 2006-10-04 07:55:20 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mon.c [PATCH] knfsd: export nsm_local_state to user space via sysctl 2006-10-04 07:55:18 -07:00
svc4proc.c [PATCH] knfsd: Allow lockd to drop replies as appropriate 2006-10-17 08:18:46 -07:00
svc.c [PATCH] knfsd: export nsm_local_state to user space via sysctl 2006-10-04 07:55:18 -07:00
svclock.c [PATCH] Convert lockd to use the newer mutex instead of the older semaphore 2006-10-04 07:55:19 -07:00
svcproc.c [PATCH] knfsd: Allow lockd to drop replies as appropriate 2006-10-17 08:18:46 -07:00
svcshare.c [PATCH] knfsd: lockd: make nlm_traverse_* more flexible 2006-10-04 07:55:17 -07:00
svcsubs.c [PATCH] knfsd: Allow lockd to drop replies as appropriate 2006-10-17 08:18:46 -07:00
xdr4.c SUNRPC: display human-readable procedure name in rpc_iostats output 2006-03-20 13:44:22 -05:00
xdr.c [PATCH] namespaces: utsname: switch to using uts namespaces 2006-10-02 07:57:21 -07:00