Re: [PATCH 4/4] md: fast clone bio in bio_clone_mddev()

From: Christoph Hellwig
Date: Mon Feb 06 2017 - 09:25:15 EST


On Mon, Feb 06, 2017 at 06:43:32PM +0800, Ming Lei wrote:
> In theory, ->bio_set still might be NULL in case of failed memory allocation,
> please see md_run().

And that's something that should be fixed. Silently not having mempool
is very bad behavior.