diff options
| author | Christoph Hellwig <hch@lst.de> | 2026-04-15 08:08:07 +0200 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-04-21 11:42:12 -0600 |
| commit | b5129bda5bbcceea5b2589c8248d39f77660aa19 (patch) | |
| tree | 4e61234ee2978508be9856f99fb5fec14bd41219 /tools | |
| parent | 19d32966e1f68623ac9d95fbcf34b1fb1a7be48d (diff) | |
block: only restrict bio allocation gfp mask asked to block
If the caller is asking for a non-blocking allocation, we should not
further restrict the gfp mask, which just increases the likelihood
of failures.
Fixes: b520c4eef83d ("block: split bio_alloc_bioset more clearly into a fast and slowpath")
Reported-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Link: https://patch.msgid.link/20260415060813.807659-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
