Dan Williams 9851882600 md/raid5: STRIPE_ACTIVE has lock semantics, add barriers
commit 257a4b42af7586fab4eaec7f04e6896b86551843 upstream.

All updates that occur under STRIPE_ACTIVE should be globally visible
when STRIPE_ACTIVE clears.  test_and_set_bit() implies a barrier, but
clear_bit() does not.

This is suitable for 3.1-stable.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-11-11 09:44:50 -08:00
..
2011-07-27 11:00:37 +10:00
2011-07-27 11:00:37 +10:00
2011-08-02 12:32:01 +01:00
2011-10-23 20:55:17 +01:00
2010-08-12 04:14:11 +01:00
2011-08-02 12:32:02 +01:00
2011-07-26 16:49:47 -07:00
2011-03-31 11:26:23 -03:00
2011-03-24 13:54:35 +00:00
2007-10-20 02:01:26 +01:00
2010-08-12 04:14:12 +01:00
2011-03-31 11:26:23 -03:00
2011-08-02 12:32:07 +01:00
2011-03-24 13:54:24 +00:00