aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-06-17 12:04:12 +0200
committerDavid Sterba <dsterba@suse.com>2022-07-25 17:45:40 +0200
commitea1f0cedefe9abd903a35900e4c1ba3e0413b017 (patch)
treeb601226eadb4e20278177a2dc1603fcbbb93a7d3 /drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c
parentbtrfs: simplify sync/async submission in btrfs_submit_data_write_bio (diff)
downloadwireguard-linux-ea1f0cedefe9abd903a35900e4c1ba3e0413b017.tar.xz
wireguard-linux-ea1f0cedefe9abd903a35900e4c1ba3e0413b017.zip
btrfs: handle allocation failure in btrfs_wq_submit_bio gracefully
btrfs_wq_submit_bio is used for writeback under memory pressure. Instead of failing the I/O when we can't allocate the async_submit_bio, just punt back to the synchronous submission path. Reviewed-by: Nikolay Borisov <nborisov@suse.com> Tested-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c')
0 files changed, 0 insertions, 0 deletions