nfs_pread_async: handle short reads
authorPeter Lieven <pl@kamp.de>
Sun, 16 Mar 2014 19:15:48 +0000 (20:15 +0100)
committerPeter Lieven <pl@kamp.de>
Sun, 16 Mar 2014 19:15:48 +0000 (20:15 +0100)
commit1eb4be31507d362f4401da83b369d16a5cc6cc74
tree08d147c1f88d673468b8ba3716f28e72cf6be644
parent027a767eca52f74e0cdbcd60268472f2ae5514f9
nfs_pread_async: handle short reads

the RFC allows the server to read less bytes than requested even
if not at the EOF.
this patch implements a reissue logic for the reminder of the
read request(s).

Signed-off-by: Peter Lieven <pl@kamp.de>
lib/libnfs.c