summaryrefslogtreecommitdiff
path: root/drivers/md/md.c
diff options
context:
space:
mode:
authorShaohua Li <shli@fb.com>2017-08-24 17:50:40 -0700
committerShaohua Li <shli@fb.com>2017-08-25 10:21:44 -0700
commit208410b546207cfc4c832635fa46419cfa86b4cd (patch)
tree39b87caad9074f3dc4748b109fa216568fad2d99 /drivers/md/md.c
parent9c72a18e46ebe0f09484cce8ebf847abdab58498 (diff)
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>
Diffstat (limited to 'drivers/md/md.c')
0 files changed, 0 insertions, 0 deletions