kernel_optimize_test/fs/nfs
Dave Chinner 0d88f6e804 nfs: don't call __mark_inode_dirty while holding i_lock
nfs_scan_commit() is called with the inode->i_lock held, but it then
calls __mark_inode_dirty() while still holding the lock. This causes
a deadlock.

Push the inode->i_lock into nfs_scan_commit() so it can protect only
the parts of the code it needs to and can be dropped before the call
to __mark_inode_dirty() to avoid the deadlock.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Tested-by: Will Simoneau <simoneau@ele.uri.edu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-04-12 14:17:24 -07:00
..
cache_lib.c
cache_lib.h
callback_proc.c
callback_xdr.c Fix common misspellings 2011-03-31 11:26:23 -03:00
callback.c
callback.h
client.c
delegation.c
delegation.h
dir.c Merge branch 'nfs-for-2.6.39' into nfs-for-next 2011-03-24 17:03:14 -04:00
direct.c
dns_resolve.c
dns_resolve.h
file.c Fix common misspellings 2011-03-31 11:26:23 -03:00
fscache-index.c
fscache.c
fscache.h
getroot.c Merge branch 'nfs-for-2.6.39' into nfs-for-next 2011-03-24 17:03:14 -04:00
idmap.c
inode.c Merge branch 'nfs-for-2.6.39' into nfs-for-next 2011-03-24 17:03:14 -04:00
internal.h Merge branch 'nfs-for-2.6.39' into nfs-for-next 2011-03-24 17:03:14 -04:00
iostat.h
Kconfig
Makefile
mount_clnt.c
namespace.c NFS: Fix a signed vs. unsigned secinfo bug 2011-04-06 13:25:04 -07:00
nfs2xdr.c
nfs3acl.c
nfs3proc.c NFS: lookup supports alternate client 2011-03-24 13:52:41 -04:00
nfs3xdr.c
nfs4_fs.h Merge branch 'nfs-for-2.6.39' into nfs-for-next 2011-03-24 17:03:14 -04:00
nfs4filelayout.c Cleanup XDR parsing for LAYOUTGET, GETDEVICEINFO 2011-03-24 17:01:41 -04:00
nfs4filelayout.h Fix common misspellings 2011-03-31 11:26:23 -03:00
nfs4filelayoutdev.c Cleanup XDR parsing for LAYOUTGET, GETDEVICEINFO 2011-03-24 17:01:41 -04:00
nfs4namespace.c
nfs4proc.c NFS: Change initial mount authflavor only when server returns NFS4ERR_WRONGSEC 2011-04-07 13:19:40 -07:00
nfs4renewd.c
nfs4state.c fs: don't use igrab() while holding i_lock 2011-03-29 07:50:34 -07:00
nfs4xdr.c Merge branch 'nfs-for-2.6.39' into nfs-for-next 2011-03-24 17:03:14 -04:00
nfsroot.c
pagelist.c NFS: Fix a hang in the writeback path 2011-03-27 17:48:07 +02:00
pnfs.c Cleanup XDR parsing for LAYOUTGET, GETDEVICEINFO 2011-03-24 17:01:41 -04:00
pnfs.h Cleanup XDR parsing for LAYOUTGET, GETDEVICEINFO 2011-03-24 17:01:41 -04:00
proc.c NFS: lookup supports alternate client 2011-03-24 13:52:41 -04:00
read.c
super.c
symlink.c
sysctl.c
unlink.c
write.c nfs: don't call __mark_inode_dirty while holding i_lock 2011-04-12 14:17:24 -07:00