On Thu, Apr 20, 2017 at 1:38 PM, NeilBrown <[email protected]> wrote:
> This function allocates a bio, then a collection
> of pages.  It copes with failure.
>
> It currently uses a mempool() to allocate the bio,
> but alloc_page() to allocate the pages.  These fail
> in different ways, so the usage is inconsistent.
>
> Change the bio_clone() to bio_clone_kmalloc()
> so that no pool is used either for the bio or the pages.
>
> Signed-off-by: NeilBrown <[email protected]>

Reviewed-by : Ming Lei <[email protected]>


Thanks,
Ming Lei

Reply via email to