diff options
author | 2011-11-08 16:22:06 +1100 | |
---|---|---|
committer | 2011-11-08 16:22:06 +1100 | |
commit | 257a4b42af7586fab4eaec7f04e6896b86551843 (patch) | |
tree | ec65357b2320ba4e4341a2853245048889666f5c /lib/mpi/mpiutil.c | |
parent | md/raid5: abort any pending parity operations when array fails. (diff) | |
download | wireguard-linux-257a4b42af7586fab4eaec7f04e6896b86551843.tar.xz wireguard-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 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions