From: Christoph Hellwig Date: Wed, 24 Feb 2021 07:24:07 +0000 (+0100) Subject: block: memory allocations in bounce_clone_bio must not fail X-Git-Tag: microblaze-v5.13~12^2~2 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=47dc096ac183f465ffb03e86a203a38661695d72;hp=47dc096ac183f465ffb03e86a203a38661695d72;p=linux-2.6-microblaze.git block: memory allocations in bounce_clone_bio must not fail The caller can't cope with a failure from bounce_clone_bio, so use __GFP_NOFAIL for the passthrough case. bio_alloc_bioset already won't fail due to the use of mempools. And yes, we need to get rid of this bock layer bouncing code entirely sooner or later.. Signed-off-by: Christoph Hellwig Signed-off-by: Jens Axboe ---