UPSTREAM: nvmet-tcp: move send/recv error handling in the send/recv methods instead of call-sites
commit 0236d343 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 sign in to comment