Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0581932d authored by Sagi Grimberg's avatar Sagi Grimberg Committed by Lee Jones
Browse files

UPSTREAM: nvmet-tcp: move send/recv error handling in the send/recv methods instead of call-sites



commit 0236d3437909ff888e5c79228e2d5a851651c4c6 upstream.

Have routines handle errors and just bail out of the poll loop.
This simplifies the code and will help as we may enhance the poll
loop logic and these are somewhat in the way.

Bug: 310114968
Signed-off-by: default avatarSagi Grimberg <sagi@grimberg.me>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarDragos-Marian Panait <dragos.panait@windriver.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 2c9415ec)
Signed-off-by: default avatarLee Jones <joneslee@google.com>
Change-Id: I96f2eabd90a4690aa8b388c4d9b0060d06c60d9b
parent 81334f26
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment