Files
i2som-imx-linux/include/linux
Miklos Szeredi 2ebf56f3e4 vfs: dcache: use DCACHE_DENTRY_KILLED instead of DCACHE_DISCONNECTED in d_kill()
commit b161dfa693 upstream.

IBM reported a soft lockup after applying the fix for the rename_lock
deadlock.  Commit c83ce989cb ("VFS: Fix the nfs sillyrename regression
in kernel 2.6.38") was found to be the culprit.

The nfs sillyrename fix used DCACHE_DISCONNECTED to indicate that the
dentry was killed.  This flag can be set on non-killed dentries too,
which results in infinite retries when trying to traverse the dentry
tree.

This patch introduces a separate flag: DCACHE_DENTRY_KILLED, which is
only set in d_kill() and makes try_to_ascend() test only this flag.

IBM reported successful test results with this patch.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2012-10-10 03:30:48 +01:00
..
2012-02-20 12:46:20 -08:00
2012-08-02 14:37:54 +01:00
2012-05-11 13:14:47 +01:00
2012-02-29 16:31:24 -08:00
2012-08-10 00:11:14 +01:00
2012-07-25 04:11:19 +01:00
2012-04-02 09:52:34 -07:00
2012-10-10 03:30:45 +01:00
2012-09-19 15:04:58 +01:00
2012-08-10 00:11:14 +01:00
2012-07-25 04:11:40 +01:00
2012-07-12 04:31:59 +01:00
2012-07-25 04:11:32 +01:00