summaryrefslogtreecommitdiff
path: root/block/blk-map.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-02-24 08:24:07 +0100
committerJens Axboe <axboe@kernel.dk>2021-02-24 08:55:00 -0700
commit47dc096ac183f465ffb03e86a203a38661695d72 (patch)
treec9759e70a15f502b69a046a7853a2264d6d5cfbb /block/blk-map.c
parentebfe4183c77ed18e1d4237ad3b13f32114d9ae1e (diff)
downloadlwn-47dc096ac183f465ffb03e86a203a38661695d72.tar.gz
lwn-47dc096ac183f465ffb03e86a203a38661695d72.zip
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>
Diffstat (limited to 'block/blk-map.c')
0 files changed, 0 insertions, 0 deletions