Skip to contentSkip to conversation

md: two patches

PATCH In review Ming Lei 1 participant 1 message Jul 12, 2017

Subsystems (2)
lore
Share & tools
lore

Ming Lei

author
#0 lore raw

cover md: two patches

This 1st patch fixes one issue introduced in the following two commits:

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)

The 2nd one initializes bvec table of bio via bio_add_page() after bio_reset().

Ming Lei (2):
md: remove 'idx' from 'struct resync_pages'
md: raid1/raid10: initialize bvec table via bio_add_page()

 drivers/md/md.c     | 21 +++++++++++++++++++++
 drivers/md/md.h     |  4 +++-
 drivers/md/raid1.c  | 22 +++++-----------------
 drivers/md/raid10.c | 10 +++++-----
 4 files changed, 34 insertions(+), 23 deletions(-)
Signature · 1 line
2.9.4