commit | 47dc096ac183f465ffb03e86a203a38661695d72 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Feb 24 08:24:07 2021 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Feb 24 08:55:00 2021 -0700 |
tree | c9759e70a15f502b69a046a7853a2264d6d5cfbb | |
parent | ebfe4183c77ed18e1d4237ad3b13f32114d9ae1e [diff] |
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 <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>