commit | 83f1261f5e5516d7cf58a04b97e4e63e747a9157 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.com> | Thu Jun 02 16:19:52 2016 +1000 |
committer | Shaohua Li <shli@fb.com> | Mon Jun 13 11:54:13 2016 -0700 |
tree | 69dd751c19fc2d340305178d82d1a4a2d0d4d5aa | |
parent | 414e6b9a7032a6c2f5ddf018fdb199190b075170 [diff] |
md/raid10: fix refounct imbalance when resyncing an array with a replacement device. If you have a raid10 with a replacement device that is resyncing - e.g. after a crash before the replacement was complete - the write to the replacement will increment nr_pending on the wrong device, which will lead to strangeness. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Shaohua Li <shli@fb.com>