Files
android_kernel_xiaomi_sm8450/fs/gfs2
Bob Peterson 44ad37d69b GFS2: filesystem hang caused by incorrect lock order
This patch fixes a deadlock in GFS2 where two processes are trying
to reclaim an unlinked dinode:
One holds the inode glock and calls gfs2_lookup_by_inum trying to look
up the inode, which it can't, due to I_FREEING.  The other has set
I_FREEING from vfs and is at the beginning of gfs2_delete_inode
waiting for the glock, which is held by the first.  The solution is to
add a new non_block parameter to the gfs2_iget function that causes it
to return -ENOENT if the inode is being freed.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
2011-04-18 15:23:50 +01:00
..
2011-03-31 11:26:23 -03:00
2010-09-20 11:18:16 +01:00
2010-09-20 11:21:09 +01:00
2011-04-18 15:22:52 +01:00
2008-06-27 09:39:44 +01:00
2011-03-31 11:26:23 -03:00
2011-03-09 10:58:04 +00:00
2011-03-11 11:52:25 +00:00
2010-09-20 11:18:46 +01:00
2011-03-09 10:58:04 +00:00
2010-05-21 16:11:36 +01:00
2008-03-31 10:39:54 +01:00
2011-03-17 14:02:57 +01:00
2010-09-29 14:20:52 +01:00
2011-02-24 12:13:48 +00:00
2010-05-21 18:31:20 -04:00
2009-01-05 07:39:13 +00:00
2010-05-05 09:39:18 +01:00
2010-03-01 14:07:37 +00:00
2010-11-30 10:30:19 +00:00
2009-12-16 12:16:49 -05:00