diff options
author | Christoph Hellwig <[email protected]> | 2022-06-17 12:04:12 +0200 |
---|---|---|
committer | David Sterba <[email protected]> | 2022-07-25 17:45:40 +0200 |
commit | ea1f0cedefe9abd903a35900e4c1ba3e0413b017 (patch) | |
tree | b601226eadb4e20278177a2dc1603fcbbb93a7d3 /net/lapb/lapb_subr.c | |
parent | 82443fd55c5adb0643f28fb7576a8605d0d41485 (diff) |
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 <[email protected]>
Tested-by: Nikolay Borisov <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions