diff options
author | jiangyiwen <jiangyiwen@huawei.com> | 2016-03-15 14:52:58 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-15 16:55:16 -0700 |
commit | 4d548f61d61fcaa5b5e14b8d250de9604bdb61bf (patch) | |
tree | 943fa3d4653fad7331c1bfea3584e7d144af479a /fs/ocfs2/super.c | |
parent | e928f35061a6f3ead993b230b01d9ca6b4f495ca (diff) | |
download | linux-4d548f61d61fcaa5b5e14b8d250de9604bdb61bf.tar.gz linux-4d548f61d61fcaa5b5e14b8d250de9604bdb61bf.tar.bz2 linux-4d548f61d61fcaa5b5e14b8d250de9604bdb61bf.zip |
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 <jiangyiwen@huawei.com>
Reviewed-by: Joseph Qi <joseph.qi@huawei.com>
Cc: Mark Fasheh <mfasheh@suse.de>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ocfs2/super.c')
0 files changed, 0 insertions, 0 deletions