ocfs2/cluster: replace the interrupt safe spinlocks with common ones
authorjiangyiwen <[email protected]>
Tue, 15 Mar 2016 21:52:58 +0000 (14:52 -0700)
committerLinus Torvalds <[email protected]>
Tue, 15 Mar 2016 23:55:16 +0000 (16:55 -0700)
commit4d548f61d61fcaa5b5e14b8d250de9604bdb61bf
tree943fa3d4653fad7331c1bfea3584e7d144af479a
parente928f35061a6f3ead993b230b01d9ca6b4f495ca
ocfs2/cluster: replace the interrupt safe spinlocks with common ones

There actually no hardware or software interrupts in the context which
using o2hb_live_lock, so we don't need to worry about race conditions
caused by irq/softirq with spinlock held.  Turning off irq is not good
for system performance after all.  Just replace them with a non
interrupt safe function.

Signed-off-by: Yiwen Jiang <[email protected]>
Reviewed-by: Joseph Qi <[email protected]>
Cc: Mark Fasheh <[email protected]>
Cc: Joel Becker <[email protected]>
Cc: Junxiao Bi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/ocfs2/cluster/heartbeat.c