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-23 09:49:43 +00:00
2006-03-29 09:12:12 -05:00
2006-03-09 19:47:37 -08:00
2006-03-06 18:40:45 -08:00
2006-03-08 16:46:08 -08:00
2006-02-17 13:59:28 -08:00
2006-03-08 14:14:01 -08:00
2006-03-07 09:16:35 -08:00
2006-03-08 14:14:01 -08:00
2006-02-23 09:49:43 +00:00
2006-03-08 14:03:09 -08:00
2006-02-17 13:59:28 -08:00
2006-02-11 21:41:10 -08:00
2006-02-22 09:39:02 -08:00