All of lore.kernel.org
 help / color / mirror / Atom feed
* "creative" bio usage in the RAID code
@ 2016-11-10 19:46 Christoph Hellwig
  2016-11-11 19:02 ` Shaohua Li
  2016-11-13 23:03 ` NeilBrown
  0 siblings, 2 replies; 15+ messages in thread
From: Christoph Hellwig @ 2016-11-10 19:46 UTC (permalink / raw)
  To: Shaohua Li; +Cc: linux-raid, linux-block

Hi Shaohua,

one of the major issues with Ming Lei's multipage biovec works
is that we can't easily enabled the MD RAID code for it.  I had
a quick chat on that with Chris and Jens and they suggested talking
to you about it.

It's mostly about the RAID1 and RAID10 code which does a lot of funny
things with the bi_iov_vec and bi_vcnt fields, which we'd prefer that
drivers don't touch.  One example is the r1buf_pool_alloc code,
which I think should simply use bio_clone for the MD_RECOVERY_REQUESTED
case, which would also take care of r1buf_pool_free.  I'm not sure
about all the others cases, as some bits don't fully make sense to me,
e.g. why we're trying to do single page I/O out of a bigger bio.

Maybe you have some better ideas what's going on there?

Another not quite as urgent issue is how the RAID5 code abuses
->bi_phys_segments as and outstanding I/O counter, and I have no
really good answer to that either.

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2016-11-15  1:30 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-10 19:46 "creative" bio usage in the RAID code Christoph Hellwig
2016-11-11 19:02 ` Shaohua Li
2016-11-12 17:42   ` Christoph Hellwig
2016-11-13 22:53     ` NeilBrown
2016-11-13 22:53       ` NeilBrown
2016-11-14  8:57       ` Christoph Hellwig
2016-11-14  9:51         ` NeilBrown
2016-11-14  9:51           ` NeilBrown
2016-11-15  0:13     ` Shaohua Li
2016-11-15  1:30       ` Ming Lei
2016-11-15  1:30         ` Ming Lei
2016-11-13 23:03 ` NeilBrown
2016-11-14  8:51   ` Christoph Hellwig
2016-11-14  9:43     ` NeilBrown
2016-11-14  9:43       ` NeilBrown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.