diff options
author | Bodo Stroesser <bstroesser@ts.fujitsu.com> | 2014-11-12 09:03:24 -0500 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2014-11-12 13:46:59 -0500 |
commit | e2989f2f5fd709c19eeb92780a51ae58d3501db8 (patch) | |
tree | e2b4aea11d8706606f39b5a53f603c0ed3ce06b9 /utils/gssd/write_bytes.h | |
parent | f44169dfe52ece05b1c36c0f3c3ea0427f295ace (diff) | |
download | nfs-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 'utils/gssd/write_bytes.h')
0 files changed, 0 insertions, 0 deletions