commit | 7f7583d420231b9d09897afd57a957011b606a5b | [log] [tgz] |
---|---|---|
author | Jianpeng Ma <majianpeng@gmail.com> | Thu Oct 11 14:17:59 2012 +1100 |
committer | NeilBrown <neilb@suse.de> | Thu Oct 11 14:17:59 2012 +1100 |
tree | aa45d88b926bfc8e22f841b9ea83d338afa4c3ae | |
parent | 1ed850f356a0a422013846b5291acff08815008b [diff] |
Subject: [PATCH] md:change resync_mismatches to atomic64_t to avoid races Now that multiple threads can handle stripes, it is safer to use an atomic64_t for resync_mismatches, to avoid update races. Signed-off-by: Jianpeng Ma <majianpeng@gmail.com> Signed-off-by: NeilBrown <neilb@suse.de>