linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] md: two patches
@ 2017-07-12  8:28 Ming Lei
  0 siblings, 0 replies; only message in thread
From: Ming Lei @ 2017-07-12  8:28 UTC (permalink / raw)
  To: Shaohua Li, linux-raid
  Cc: NeilBrown, linux-block, Jens Axboe, Christoph Hellwig, Ming Lei

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(-)

-- 
2.9.4

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-07-12  8:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-12  8:28 [PATCH 0/2] md: two patches Ming Lei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).