fs: nfs: ensure rpc_req message is send
Currently we send a rpc message without checking if the send was
succesful and poll for a answer from the server. If the server didn't
answer within the NFS_TIMEOUT window we send the package again. In case
the package send wasn't successful we always run in that timeout. This
gets even worse if the package send fails more than one time.

Check if the package send was successful and resend the package if it
wasn't to fix this behaviour.

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 17ab169 commit 3a9ea929d89cacd14bbdf73a031d1eaf23abecdc
@Marco Felsch Marco Felsch authored on 26 Apr 2019
Sascha Hauer committed on 29 Apr 2019
Showing 1 changed file
View
fs/nfs.c