mirror of
https://github.com/samba-team/samba.git
synced 2025-12-07 20:23:50 +03:00
Linux kernel oplocks now seem to work, but need a _lot_ of testing
I had to modify sys_select() to not loop on EINTR. I added a wrapper called sys_select_intr() which gives the old behaviour.
This commit is contained in:
@@ -203,7 +203,7 @@ max can be %d\n",
|
||||
memcpy((char *)&lfds, (char *)&listen_set,
|
||||
sizeof(listen_set));
|
||||
|
||||
num = sys_select(FD_SETSIZE,&lfds,NULL);
|
||||
num = sys_select_intr(FD_SETSIZE,&lfds,NULL);
|
||||
|
||||
if (num == -1 && errno == EINTR)
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user