Shaohua Li 208410b546 md/raid1/10: reset bio allocated from mempool
Data allocated from mempool doesn't always get initialized, this happens when
the data is reused instead of fresh allocation. In the raid1/10 case, we must
reinitialize the bios.

Reported-by: Jonathan G. Underwood <jonathan.underwood@gmail.com>
Fixes: f0250618361d(md: raid10: don't use bio's vec table to manage resync pages)
Fixes: 98d30c5812c3(md: raid1: don't use bio's vec table to manage resync pages)
Cc: stable@vger.kernel.org (4.12+)
Cc: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Shaohua Li <shli@fb.com>
2017-08-25 10:21:44 -07:00
..
2017-07-07 09:44:06 -07:00
2016-11-01 09:43:26 -06:00
2017-07-25 14:54:20 -04:00
2017-06-09 09:27:32 -06:00
2017-05-08 17:15:12 -07:00
2017-07-07 09:44:06 -07:00
2017-06-09 09:27:32 -06:00
2017-06-12 08:30:13 -06:00
2017-06-09 09:27:32 -06:00
2015-08-13 12:31:57 -06:00