All of lore.kernel.org
 help / color / mirror / Atom feed
* why does __split_and_process_bio use bio_clone_bioset?
@ 2018-06-14  8:19 ` Christoph Hellwig
  0 siblings, 0 replies; 13+ messages in thread
From: Christoph Hellwig @ 2018-06-14  8:19 UTC (permalink / raw)
  To: NeilBrown; +Cc: linux-block, dm-devel, Ming Lei

Hi Neil,

In commit 18a25da8 ("dm: ensure bio submission follows a depth-first
tree walk") you've added a call to bio_clone_bioset to
__split_and_process_bio.  Unlike all other bio splitting code this
actually allocates a new bio_vec array instead of just splitting the bio
and the iterator.  I can't actually find a good reason for that either
in a cursory review of the code, the commit or the comments.

Do you remember why this can't just use bio_clone_fast?

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

end of thread, other threads:[~2018-06-16 15:20 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-14  8:19 why does __split_and_process_bio use bio_clone_bioset? Christoph Hellwig
2018-06-14  8:19 ` Christoph Hellwig
2018-06-14 18:12 ` Mike Snitzer
2018-06-14 18:12   ` Mike Snitzer
2018-06-14 20:08   ` Mike Snitzer
2018-06-14 23:34     ` NeilBrown
2018-06-14 23:34       ` [dm-devel] " NeilBrown
2018-06-15  7:38     ` Christoph Hellwig
2018-06-15  7:38       ` [dm-devel] " Christoph Hellwig
2018-06-15 18:26       ` Mike Snitzer
2018-06-15 18:26         ` Mike Snitzer
2018-06-16 15:20         ` Christoph Hellwig
2018-06-16 15:20           ` Christoph Hellwig

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.