[dm-devel] why does __split_and_process_bio use bio_clone_bioset?

Christoph Hellwig hch at infradead.org
Thu Jun 14 08:19:47 UTC 2018


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?




More information about the dm-devel mailing list