diff options
author | Dan Williams <dan.j.williams@intel.com> | 2011-11-08 06:22:06 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-11-08 06:22:06 +0100 |
commit | 257a4b42af7586fab4eaec7f04e6896b86551843 (patch) | |
tree | ec65357b2320ba4e4341a2853245048889666f5c /drivers/md/bitmap.c | |
parent | md/raid5: abort any pending parity operations when array fails. (diff) | |
download | linux-257a4b42af7586fab4eaec7f04e6896b86551843.tar.xz linux-257a4b42af7586fab4eaec7f04e6896b86551843.zip |
md/raid5: STRIPE_ACTIVE has lock semantics, add barriers
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>
Cc: stable@kernel.org
Diffstat (limited to 'drivers/md/bitmap.c')
0 files changed, 0 insertions, 0 deletions