summaryrefslogtreecommitdiffstats
path: root/docs/htmldocs/using_samba/ch01_01.html
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-06-06 23:55:41 +0000
committerJeremy Allison <jra@samba.org>2002-06-06 23:55:41 +0000
commita8c85372e2826a07117c89b39270cde8641ce55d (patch)
treeef5751f44499548b170c98068fbf40901cbc00e8 /docs/htmldocs/using_samba/ch01_01.html
parent24f127a58f66de9b8733bc3261212d01926d0a87 (diff)
downloadsamba-a8c85372e2826a07117c89b39270cde8641ce55d.tar.gz
samba-a8c85372e2826a07117c89b39270cde8641ce55d.tar.xz
samba-a8c85372e2826a07117c89b39270cde8641ce55d.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 'docs/htmldocs/using_samba/ch01_01.html')
0 files changed, 0 insertions, 0 deletions