diff options
| author | Shaohua Li <shli@fb.com> | 2017-08-24 17:50:40 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-09-20 08:22:11 +0200 |
| commit | b57c1b424549cc819534bc5d5774e8259d1df384 (patch) | |
| tree | e361e79fb8e109792c7df41ceefc623ce119497d /include/linux/auto_dev-ioctl.h | |
| parent | c3f9d09e70a3f2de08b3025e1baf69008693ada2 (diff) | |
md/raid1/10: reset bio allocated from mempool
commit 208410b546207cfc4c832635fa46419cfa86b4cd upstream.
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: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/auto_dev-ioctl.h')
0 files changed, 0 insertions, 0 deletions
