summaryrefslogtreecommitdiffstats
path: root/support/export/export.c
diff options
context:
space:
mode:
authorBodo Stroesser <bstroesser@ts.fujitsu.com>2014-11-12 09:03:24 -0500
committerSteve Dickson <steved@redhat.com>2014-11-12 13:46:59 -0500
commite2989f2f5fd709c19eeb92780a51ae58d3501db8 (patch)
treee2b4aea11d8706606f39b5a53f603c0ed3ce06b9 /support/export/export.c
parentf44169dfe52ece05b1c36c0f3c3ea0427f295ace (diff)
downloadnfs-utils-e2989f2f5fd709c19eeb92780a51ae58d3501db8.tar.gz
nfs-utils-e2989f2f5fd709c19eeb92780a51ae58d3501db8.tar.xz
nfs-utils-e2989f2f5fd709c19eeb92780a51ae58d3501db8.zip
rpc.mountd: set nonblocking mode if no libtirpc
If mountd is built without libtirpc and it is started using "-p XXX" option, the tcp listeners and the sockets waiting for UDP messages are not in non-blocking mode. Thus if running with multiple threads (-t XX), all threads will wake up from select on a connection request or a UDP message, but only one thread will succeed. All others will wait on accept() or read() for the next event. Reviewed-by: NeilBrown <neilb@suse.de> Signed-off-by: Bodo Stroesser <bstroesser@ts.fujitsu.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/export/export.c')
0 files changed, 0 insertions, 0 deletions