android_kernel_xiaomi_sm8350/fs/nfsd
J. Bruce Fields b5a1a81e5c nfsd4: don't sleep in lease-break callback
The NFSv4 server's fl_break callback can sleep (dropping the BKL), in
order to allocate a new rpc task to send a recall to the client.

As far as I can tell this doesn't cause any races in the current code,
but the analysis is difficult.  Also, the sleep here may complicate the
move away from the BKL.

So, just schedule some work to do the job for us instead.  The work will
later also prove useful for restarting a call after the callback
information is changed.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
2010-04-22 11:34:01 -04:00
..
auth.c nfsd: remove pointless paths in file headers 2009-12-15 15:01:47 -05:00
auth.h
cache.h nfsd: remove pointless paths in file headers 2009-12-15 15:01:47 -05:00
export.c nfsd: factor out hash functions for export caches. 2010-03-16 18:05:11 -04:00
Kconfig
lockd.c nfsd: remove pointless paths in file headers 2009-12-15 15:01:47 -05:00
Makefile
nfs2acl.c nfsd: remove pointless paths in file headers 2009-12-15 15:01:47 -05:00
nfs3acl.c nfsd: remove pointless paths in file headers 2009-12-15 15:01:47 -05:00
nfs3proc.c nfsd: remove pointless paths in file headers 2009-12-15 15:01:47 -05:00
nfs3xdr.c nfsd: remove pointless paths in file headers 2009-12-15 15:01:47 -05:00
nfs4acl.c nfsd: remove pointless paths in file headers 2009-12-15 15:01:47 -05:00
nfs4callback.c nfsd4: don't sleep in lease-break callback 2010-04-22 11:34:01 -04:00
nfs4idmap.c nfsd: remove pointless paths in file headers 2009-12-15 15:01:47 -05:00
nfs4proc.c nfsd: remove pointless paths in file headers 2009-12-15 15:01:47 -05:00
nfs4recover.c commit_metadata export operation replacing nfsd_sync_dir 2010-02-20 13:13:44 -08:00
nfs4state.c nfsd4: don't sleep in lease-break callback 2010-04-22 11:34:01 -04:00
nfs4xdr.c Merge commit 'v2.6.34-rc1' into for-2.6.35-incoming 2010-03-09 17:22:08 -05:00
nfscache.c nfsd: remove pointless paths in file headers 2009-12-15 15:01:47 -05:00
nfsctl.c nfsd4: document lease/grace-period limits 2010-03-06 15:02:10 -05:00
nfsd.h nfsd4: allow setting grace period time 2010-03-06 15:02:08 -05:00
nfsfh.c nfsd: fix "insecure" export option 2009-12-20 20:19:51 -08:00
nfsfh.h nfsd: move most of nfsfh.h to fs/nfsd 2009-12-15 15:01:46 -05:00
nfsproc.c nfsd: remove pointless paths in file headers 2009-12-15 15:01:47 -05:00
nfssvc.c nfsd: remove pointless paths in file headers 2009-12-15 15:01:47 -05:00
nfsxdr.c nfsd: remove pointless paths in file headers 2009-12-15 15:01:47 -05:00
state.h nfsd4: don't sleep in lease-break callback 2010-04-22 11:34:01 -04:00
stats.c nfsd: remove pointless paths in file headers 2009-12-15 15:01:47 -05:00
vfs.c nfsd: don't break lease while servicing a COMMIT 2010-03-22 15:37:53 -04:00
vfs.h nfsd: don't break lease while servicing a COMMIT 2010-03-22 15:37:53 -04:00
xdr3.h nfsd: remove pointless paths in file headers 2009-12-15 15:01:47 -05:00
xdr4.h nfsd4: indentation cleanup 2010-04-19 15:12:51 -04:00
xdr.h nfsd: remove pointless paths in file headers 2009-12-15 15:01:47 -05:00