summaryrefslogtreecommitdiff
path: root/lib/xarray.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@kernel.org>2023-06-13 20:05:34 -0400
committerMike Snitzer <snitzer@kernel.org>2023-06-15 12:46:59 -0400
commit722d90822321497e2837cfc9000202e256e6b32f (patch)
treeba57e0acdb653334c3ace1a5be99daeecbe2b2ce /lib/xarray.c
parentcb65b282c9640c27d3129e2e04b711ce1b352838 (diff)
dm thin: fix issue_discard to pass GFP_NOIO to __blkdev_issue_discard
issue_discard() passes GFP_NOWAIT to __blkdev_issue_discard() despite its code assuming bio_alloc() always succeeds. Commit 3dba53a958a75 ("dm thin: use __blkdev_issue_discard for async discard support") clearly shows where things went bad: Before commit 3dba53a958a75, dm-thin.c's open-coded __blkdev_issue_discard_async() properly handled using GFP_NOWAIT. Unfortunately __blkdev_issue_discard() doesn't and it was missed during review. Cc: stable@vger.kernel.org Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'lib/xarray.c')
0 files changed, 0 insertions, 0 deletions