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:Sagi Grimberg <sagi@grimberg.me> Signed-off-by:
Christoph Hellwig <hch@lst.de> Signed-off-by:
Dragos-Marian Panait <dragos.panait@windriver.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commit 2c9415ec) Signed-off-by:
Lee Jones <joneslee@google.com> Change-Id: I96f2eabd90a4690aa8b388c4d9b0060d06c60d9b
Loading
Please register or sign in to comment