Srinivas Eeda a75e9ccabd ocfs2: use spinlock irqsave for downconvert lock.patch
When ocfs2dc thread holds dc_task_lock spinlock and receives soft IRQ it
deadlock itself trying to get same spinlock in ocfs2_wake_downconvert_thread.
Below is the stack snippet.

The patch disables interrupts when acquiring dc_task_lock spinlock.

	ocfs2_wake_downconvert_thread
	ocfs2_rw_unlock
	ocfs2_dio_end_io
	dio_complete
	.....
	bio_endio
	req_bio_endio
	....
	scsi_io_completion
	blk_done_softirq
	__do_softirq
	do_softirq
	irq_exit
	do_IRQ
	ocfs2_downconvert_thread
	[kthread]

Signed-off-by: Srinivas Eeda <srinivas.eeda@oracle.com>
Signed-off-by: Joel Becker <jlbec@evilplan.org>
2012-07-03 23:27:15 -07:00
..
2011-07-25 14:30:23 -04:00
2011-07-28 02:07:16 -07:00
2010-09-10 09:18:15 -07:00
2009-04-03 11:39:16 -07:00
2012-05-29 23:28:33 -04:00
2011-07-25 14:58:15 -07:00
2011-07-25 14:58:15 -07:00
2012-05-29 23:28:40 -04:00
2011-07-28 02:07:16 -07:00
2012-05-29 23:28:35 -04:00
2011-03-07 16:43:21 +08:00
2011-02-21 11:18:23 +08:00
2008-10-13 13:57:57 -07:00
2011-07-24 10:36:54 -07:00
2012-05-29 23:28:40 -04:00
2011-05-23 23:37:20 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-07-24 10:34:54 -07:00
2012-01-04 08:56:31 -06:00
2011-03-31 11:26:23 -03:00
2012-05-29 23:28:40 -04:00
2012-05-29 23:28:40 -04:00
2011-02-24 16:22:20 +08:00
2012-01-03 22:55:02 -05:00
2012-01-03 22:55:02 -05:00