linux/fs/nfs
Trond Myklebust 0522f6aded NFS: Fix another nfs_wb_page() deadlock
J.R. Okajima reports that the call to sync_inode() in nfs_wb_page() can
deadlock with other writeback flush calls. It boils down to the fact
that we cannot ever call writeback_single_inode() while holding a page
lock (even if we do set nr_to_write to zero) since another process may
already be waiting in the call to do_writepages(), and so will deny us
the I_SYNC lock.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2010-05-26 08:43:53 -04:00
..
cache_lib.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
cache_lib.h NFS: Add a dns resolver for use with NFSv4 referrals and migration 2009-08-19 18:22:15 -04:00
callback_proc.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
callback_xdr.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
callback.c SUNRPC: Bury "#ifdef IPV6" in svc_create_xprt() 2010-01-26 17:56:43 -05:00
callback.h nfs41: implement cb_recall_slot 2010-02-10 08:30:59 -05:00
client.c NFS: Reduce the stack footprint of nfs_create_server 2010-05-14 15:09:22 -04:00
delegation.c NFSv4: Don't use GFP_KERNEL allocations in state recovery 2010-05-14 15:09:33 -04:00
delegation.h NFSv4: Don't ignore the NFS_INO_REVAL_FORCED flag in nfs_revalidate_inode() 2010-03-10 15:21:44 -05:00
dir.c NFS: Fix a lock imbalance typo in nfs_access_cache_shrinker 2010-05-26 08:43:51 -04:00
direct.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
dns_resolve.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
dns_resolve.h NFS: Add a dns resolver for use with NFSv4 referrals and migration 2009-08-19 18:22:15 -04:00
file.c NFSv4: Allow attribute caching with 'noac' mounts if client holds a delegation 2010-05-14 15:09:30 -04:00
fscache-index.c NFS: Add read context retention for FS-Cache to call back with 2009-04-03 16:42:44 +01:00
fscache.c NFS: Squelch compiler warning 2010-05-14 15:09:31 -04:00
fscache.h NFS: Propagate 'fsc' mount option through automounts 2009-09-23 14:36:39 -04:00
getroot.c NFSv4: Reduce stack footprint of nfs4_get_root() 2010-05-14 15:09:23 -04:00
idmap.c SUNRPC: Replace rpc_client->cl_dentry and cl_mnt, with a cl_path 2009-08-09 15:14:24 -04:00
inode.c NFSv4: Allow attribute caching with 'noac' mounts if client holds a delegation 2010-05-14 15:09:30 -04:00
internal.h NFSv4: Eliminate nfs4_path_walk() 2010-05-14 15:09:21 -04:00
iostat.h NFS: Squelch compiler warning in nfs_add_server_stats() 2010-05-14 15:09:31 -04:00
Kconfig Remove EXPERIMENTAL from NFS_FSCACHE 2010-02-26 17:22:35 -08:00
Makefile NFS: Add a dns resolver for use with NFSv4 referrals and migration 2009-08-19 18:22:15 -04:00
mount_clnt.c NFS: Fix the mapping of the NFSERR_SERVERFAULT error 2010-02-09 14:29:29 -05:00
namespace.c NFS: Reduce the stack footprint of nfs_follow_mountpoint() 2010-05-14 15:09:22 -04:00
nfs2xdr.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
nfs3acl.c NFS: Reduce stack footprint of nfs3_proc_getacl() and nfs3_proc_setacl() 2010-05-14 15:09:28 -04:00
nfs3proc.c NFS: Reduce the stack footprint of nfs_rmdir 2010-05-14 15:09:26 -04:00
nfs3xdr.c NFS: Reduce stack footprint of nfs_proc_remove() 2010-05-14 15:09:26 -04:00
nfs4_fs.h NFSv4: Don't use GFP_KERNEL allocations in state recovery 2010-05-14 15:09:33 -04:00
nfs4namespace.c NFSv4: Fix up the documentation for nfs_do_refmount 2010-05-14 15:09:29 -04:00
nfs4proc.c NFSv4: Don't use GFP_KERNEL allocations in state recovery 2010-05-14 15:09:33 -04:00
nfs4renewd.c nfs: prevent backlogging of renewd requests 2010-03-02 12:44:07 -05:00
nfs4state.c NFSv4: Don't use GFP_KERNEL allocations in state recovery 2010-05-14 15:09:33 -04:00
nfs4xdr.c NFSv4: Clean up the NFSv4 setclientid operation 2010-05-14 15:09:30 -04:00
nfsroot.c NFS: Replace nfsroot on-stack filehandle 2010-05-14 15:09:28 -04:00
pagelist.c NFS: Clean up nfs_create_request() 2010-05-14 15:09:34 -04:00
proc.c NFS: Reduce the stack footprint of nfs_proc_symlink() 2010-05-14 15:09:27 -04:00
read.c NFS: Read requests can use GFP_KERNEL. 2010-05-14 15:09:34 -04:00
super.c kernel-wide: replace USHORT_MAX, SHORT_MAX and SHORT_MIN with USHRT_MAX, SHRT_MAX and SHRT_MIN 2010-05-25 08:07:02 -07:00
symlink.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
sysctl.c NFS: Avoid warnings when CONFIG_NFS_V4=n 2010-01-26 15:42:11 -05:00
unlink.c NFS: Reduce stack footprint of nfs_proc_remove() 2010-05-14 15:09:26 -04:00
write.c NFS: Fix another nfs_wb_page() deadlock 2010-05-26 08:43:53 -04:00