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)
committerChristian Ambach <christian.ambach@de.ibm.com>
Mon, 17 Jan 2011 13:12:05 +0000 (14:12 +0100)
commit24bb4c4369d107e1cf7069682f6270782a401190
tree06cf93f1f2166f09cad988bfad0b204a5a0f6857
parentff215e7b1e8b5958914935736b7458817f44ce1f
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>
source3/modules/vfs_aio_fork.c