summaryrefslogtreecommitdiff
path: root/drivers/atm
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2009-07-20 14:12:36 +0400
committerJoel Becker <joel.becker@oracle.com>2009-07-22 02:47:55 +0400
commitf7b1aa69be138ad9d7d3f31fa56f4c9407f56b6a (patch)
tree3d3ca30071d9d92ff3ad5c6d522ea6c05efb3885 /drivers/atm
parent3c5e10683e684ef45614c9071847e48f633d9806 (diff)
downloadlinux-f7b1aa69be138ad9d7d3f31fa56f4c9407f56b6a.tar.xz
ocfs2: Fix deadlock on umount
In commit ea455f8ab68338ba69f5d3362b342c115bea8e13, we moved the dentry lock put process into ocfs2_wq. This causes problems during umount because ocfs2_wq can drop references to inodes while they are being invalidated by invalidate_inodes() causing all sorts of nasty things (invalidate_inodes() ending in an infinite loop, "Busy inodes after umount" messages etc.). We fix the problem by stopping ocfs2_wq from doing any further releasing of inode references on the superblock being unmounted, wait until it finishes the current round of releasing and finally cleaning up all the references in dentry_lock_list from ocfs2_put_super(). The issue was tracked down by Tao Ma <tao.ma@oracle.com>. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'drivers/atm')
0 files changed, 0 insertions, 0 deletions