Bob Peterson 6aad1c3d3e GFS2: Eliminate sd_rindex_mutex
Over time, we've slowly eliminated the use of sd_rindex_mutex.
Up to this point, it was only used in two places: function
gfs2_ri_total (which totals the file system size by reading
and parsing the rindex file) and function gfs2_rindex_update
which updates the rgrps in memory. Both of these functions have
the rindex glock to protect them, so the rindex is unnecessary.
Since gfs2_grow writes to the rindex via the meta_fs, the mutex
is in the wrong order according to the normal rules. This patch
eliminates the mutex entirely to avoid the problem.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
2012-03-05 15:06:56 +00:00
..
2012-02-28 17:10:21 +00:00
2012-02-28 17:09:42 +00:00
2012-01-11 09:23:05 +00:00
2011-11-02 12:53:43 +01:00
2011-10-21 12:39:41 +01:00
2012-03-05 15:06:56 +00:00
2012-02-28 17:10:21 +00:00
2011-10-21 12:39:26 +01:00
2012-02-28 17:09:42 +00:00
2012-02-28 17:11:27 +00:00
2012-02-28 17:10:21 +00:00
2012-01-11 09:23:05 +00:00
2011-11-08 09:51:53 +00:00
2012-03-05 15:06:56 +00:00
2012-03-05 15:06:56 +00:00
2012-02-28 17:10:21 +00:00
2012-02-28 17:10:21 +00:00
2012-01-11 09:23:05 +00:00
2012-01-11 09:23:05 +00:00
2012-02-28 17:09:42 +00:00
2012-02-28 17:10:21 +00:00