diff options
author | Christoph Hellwig <hch@lst.de> | 2021-02-24 10:24:07 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-02-24 18:55:00 +0300 |
commit | 47dc096ac183f465ffb03e86a203a38661695d72 (patch) | |
tree | c9759e70a15f502b69a046a7853a2264d6d5cfbb /include/linux/bio.h | |
parent | ebfe4183c77ed18e1d4237ad3b13f32114d9ae1e (diff) | |
download | linux-47dc096ac183f465ffb03e86a203a38661695d72.tar.xz |
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 'include/linux/bio.h')
0 files changed, 0 insertions, 0 deletions