smbd: Fix async large read
authorVolker Lendecke <vl@samba.org>
Thu, 7 Dec 2017 17:12:28 +0000 (18:12 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 12 Dec 2017 19:37:08 +0000 (20:37 +0100)
commit3190cd15b697c1b14f92fcefc9893e1dc2dbf82a
tree7e3c26e1daf0241ac3af1cabebb5c597e14d6d1e
parent5a48f5b20f4857673519b0775aee9bdbe2652384
smbd: Fix async large read

We also do the 128k reads asynchronously, just not the huge 24MB
ones. smb_setlen does not work well for >64k.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/smbd/aio.c