summaryrefslogtreecommitdiffstats
path: root/source/libsmb/clilist.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-06-06 23:55:37 +0000
committerJeremy Allison <jra@samba.org>2002-06-06 23:55:37 +0000
commit5b6659dc868ad78334fa479258a25abe510de4db (patch)
tree596ec4c2bdec23e223bfbca9287b8d3ced1fa1fa /source/libsmb/clilist.c
parentbc5504ac6d27823f0ba7ac8f960f0f1f9a9878ff (diff)
downloadsamba-5b6659dc868ad78334fa479258a25abe510de4db.tar.gz
samba-5b6659dc868ad78334fa479258a25abe510de4db.tar.xz
samba-5b6659dc868ad78334fa479258a25abe510de4db.zip
Overly complex but neccessary fix for kernel oplock problems. The issue
is that there are some times when we should return an EINTR from a select, some times when we should not. As we can take a signal at any time, we have to eat EINTR's in some selects. This means we need to check for kernel oplock breaks more often in the main loop, as well as add the queuing mechanism needed for the changenotify code (due to the mistake in understanding POSIX semantics w.r.t. setting a signal mask in a signal handler). This code now passes all my tests. However, (and IMHO and I know tridge disagrees) - the correct way to fix this is to run with RT signals blocked and explicitly unblock them just before the main select, block them after and then process them all in one place. Just my 2cents :-). Jeremy.
Diffstat (limited to 'source/libsmb/clilist.c')
0 files changed, 0 insertions, 0 deletions