Steven Whitehouse 484adff8a0 [GFS2] Update locking in log.c
Replace the lock_for_trans()/lock_for_flush() functions with an rwsem.
In fact the sd_log_flush_lock becomes an rwsem (the write part of it)
and is extended slightly to cover everything that the lock_for_flush()
used to cover. The read part of the lock is instead of lock_for_trans().

This corrects the races in the original code and reduces the code size.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
2006-03-29 09:12:12 -05:00
..
2006-02-27 17:23:27 -05:00
2006-02-27 17:23:27 -05:00
2006-01-30 13:36:53 +00:00
2006-02-27 17:23:27 -05:00
2006-02-27 17:23:27 -05:00
2006-02-27 17:23:27 -05:00
2006-02-27 17:23:27 -05:00
2006-02-27 17:23:27 -05:00
2006-02-27 17:23:27 -05:00
2006-02-27 17:23:27 -05:00
2006-03-29 09:12:12 -05:00
2006-02-27 17:23:27 -05:00
2006-02-27 10:57:14 -05:00
2006-03-29 09:12:12 -05:00
2006-03-01 17:41:58 -05:00
2006-02-27 17:23:27 -05:00
2006-02-27 17:23:27 -05:00
2006-03-02 16:33:41 -05:00
2006-02-27 17:23:27 -05:00
2006-02-27 12:00:42 -05:00
2006-02-27 17:23:27 -05:00
2006-02-27 17:23:27 -05:00
2006-03-29 09:12:12 -05:00
2006-03-02 16:33:41 -05:00
2006-03-01 15:31:02 -05:00
2006-02-27 17:23:27 -05:00
2006-02-27 17:23:27 -05:00
2006-02-27 17:23:27 -05:00
2006-02-27 17:23:27 -05:00
2006-03-01 15:31:02 -05:00
2006-02-27 17:23:27 -05:00
2006-03-29 09:12:12 -05:00
2006-02-27 17:23:27 -05:00