Skip to content
Snippets Groups Projects
Commit 53245151 authored by Jeff Moyer's avatar Jeff Moyer
Browse files

io_uring: improve send/recv error handling

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2112041



commit 7297ce3d
Author: Pavel Begunkov <asml.silence@gmail.com>
Date:   Tue Nov 23 00:07:47 2021 +0000

    io_uring: improve send/recv error handling
    
    Hide all error handling under common if block, removes two extra ifs on
    the success path and keeps the handling more condensed.
    
Signed-off-by: default avatarPavel Begunkov <asml.silence@gmail.com>
    Link: https://lore.kernel.org/r/5761545158a12968f3caf30f747eea65ed75dfc1.1637524285.git.asml.silence@gmail.com


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>

Signed-off-by: default avatarJeff Moyer <jmoyer@redhat.com>
parent e5e44cf1
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment