s3:vfs aio_fork children do not go away
authorChristian Ambach <christian.ambach@de.ibm.com>
Thu, 13 Jan 2011 15:04:36 +0000 (16:04 +0100)
committerVolker Lendecke <vlendec@samba.org>
Fri, 14 Jan 2011 08:57:18 +0000 (09:57 +0100)
commit70b4c08c813af5d45e3b4af0503f851f52744381
tree53575677863bbb631836b94a8ac915fc10d3f239
parentfa07208cee41b51d68144e2fe14d274fdb8f4873
s3:vfs aio_fork children do not go away

on RHEL 5.5, recvmsg() does not return when it is reading
from the socket and the process on the other side closes
its connection. This left aio children around that should
have gone already and were just wasting system resources.

This patch makes the child go away by writing invalid
data to it so that the child exits.

Pair-Programmed-With: Volker Lendecke <vl@samba.org>

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Jan 14 09:57:18 CET 2011 on sn-devel-104
source3/modules/vfs_aio_fork.c