Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-10-01 | s3:events: Call all ready fd event handlers on each iteration of the main loop | Steven Danneman | 5 | -33/+38 | |
Previously, only one fd handler was being called per main message loop in all smbd child processes. In the case where multiple fds are available for reading the fd corresponding to the event closest to the beginning of the event list would be run. Obviously this is arbitrary and could cause unfairness. Usually, the first event fd is the network socket, meaning heavy load of client requests can starve out other fd events such as oplock or notify upcalls from the kernel. In this patch, I have changed the behavior of run_events() to unset any fd that it has already called a handler function, as well as decrement the number of fds that were returned from select(). This allows the caller of run_events() to iterate it, until all available fds have been handled. I then changed the main loop in smbd child processes to iterate run_events(). This way, all available fds are handled on each wake of select, while still checking for timed or signalled events between each handler function call. I also added an explicit check for EINTR from select(), which previously was masked by the fact that run_events() would handle any signal event before the return code was checked. This required a signature change to run_events() but all other callers should have no change in their behavior. I also fixed a bug in run_events() where it could be called with a selrtn value of -1, doing unecessary looping through the fd_event list when no fds were available. Also, remove the temporary echo handler hack, as all fds should be treated fairly now. | |||||
2010-10-01 | testprogs: print architecture used in win32 spoolss testsuite. | Günther Deschner | 1 | -5/+9 | |
Guenther | |||||
2010-10-01 | s3-dcerpc: no point for printing NDR twice for internal pipes in log level 10. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-10-01 | samba: share readline wrappers among all buildsystems. | Günther Deschner | 21 | -35/+35 | |
Guenther | |||||
2010-10-01 | s3-readline: move cmd_history to smbclient, the only user. | Günther Deschner | 3 | -22/+20 | |
Guenther | |||||
2010-10-01 | samba: share select wrappers. | Günther Deschner | 19 | -65/+60 | |
Guenther | |||||
2010-10-01 | s4-auth: fixed a vagrind error when creating keytabs | Andrew Tridgell | 1 | -0/+3 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-10-01 | autobuild: revert a bit more of the subunit changes | Andrew Tridgell | 1 | -2/+2 | |
still not quite right - we can enable this again once its fully tested | |||||
2010-10-01 | autobuild: disable the subuit changes for now - they break error checking | Andrew Tridgell | 1 | -2/+2 | |
2010-10-01 | autobuild: fixed the tuples in the retry_task | Andrew Tridgell | 1 | -2/+3 | |
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Oct 1 18:22:22 UTC 2010 on sn-devel-104 | |||||
2010-10-01 | autobuild: cwd is needed on all command types | Andrew Tridgell | 1 | -2/+2 | |
2010-10-01 | s4-rpmd: fixed a use after realloc bug | Andrew Tridgell | 1 | -2/+8 | |
we could use old_el after the base message had been re allocated, due to adding timestamps. We need to re-find the element before using it Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-10-01 | s4-dsdb: fail the transaction instead of asserting on error | Andrew Tridgell | 1 | -2/+10 | |
It is more useful to fail the transaction and give the user an error message than to assert when we have an error in the repl_meta_data module Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-10-01 | autobuild: Avoid unnecessary chdir() calls. | Jelmer Vernooij | 1 | -11/+7 | |
2010-10-01 | autobuild: Output test results in subunit. | Jelmer Vernooij | 1 | -3/+5 | |
2010-10-01 | s3-selftest: fix prefix in subunit output. | Jelmer Vernooij | 1 | -3/+3 | |
2010-10-01 | s3: Add subunit-test target. | Jelmer Vernooij | 2 | -1/+7 | |
2010-10-01 | s3-configure: Require at least version 1.2.6 of external TDB, which has | Jelmer Vernooij | 1 | -1/+1 | |
TDB_INCOMPATIBLE_HASH. | |||||
2010-10-01 | s4: Add 'subunit-test' make target. | Jelmer Vernooij | 1 | -0/+3 | |
2010-10-01 | autobuild: Provide more information about build sequence, stage name and ↵ | Jelmer Vernooij | 1 | -51/+54 | |
output mime type (all plain text for now). | |||||
2010-10-01 | autobuild: Add --always-email option. | Jelmer Vernooij | 1 | -0/+33 | |
2010-10-01 | autobuild-remote: Support autobuild.py rather than land.py. | Jelmer Vernooij | 2 | -50/+70 | |
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Oct 1 09:46:37 UTC 2010 on sn-devel-104 | |||||
2010-10-01 | Remove land.py - it's been obsoleted by autobuild.py. | Jelmer Vernooij | 1 | -118/+0 | |
2010-10-01 | autobuild: Add --daemon option. | Jelmer Vernooij | 1 | -0/+31 | |
2010-10-01 | autobuild: Remove autogen step for projects that have checked in configure. | Jelmer Vernooij | 1 | -6/+3 | |
2010-10-01 | autobuild: Simplify find_git_root. | Jelmer Vernooij | 1 | -11/+6 | |
2010-10-01 | pidl: Fix handling of typedefs of typedefs. | Jelmer Vernooij | 1 | -3/+4 | |
2010-10-01 | s3-spoolss: fix do_drv_upgrade_printer() which must have been broken since the | Günther Deschner | 1 | -3/+6 | |
days we moved away from fstrings. Guenther | |||||
2010-10-01 | s3-net: better handle obscure 0x80070002 error reply when trying to update an | Günther Deschner | 1 | -3/+7 | |
not yet published printer. Guenther | |||||
2010-10-01 | s3-net: make sure we dont crash when publishing a single printer. | Günther Deschner | 1 | -0/+5 | |
Guenther | |||||
2010-10-01 | s3-spoolss: make sure we dont crash on NULL setprinter level2 elements as ↵ | Günther Deschner | 1 | -7/+13 | |
seen from win7. Guenther | |||||
2010-10-01 | s3-spoolss: dont overwrite location change notify. | Günther Deschner | 3 | -3/+19 | |
Guenther | |||||
2010-10-01 | s3-selftest: added samba3.posix_s3.rpc.spoolss.printer to knownfail | Andrew Tridgell | 1 | -0/+1 | |
this fails intermittently on sn-devel. Guenther suggested adding it to knownfail Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Oct 1 04:37:36 UTC 2010 on sn-devel-104 | |||||
2010-09-30 | heimdal: added verbose logging of hemimdal crypto errors | Andrew Bartlett | 1 | -2/+15 | |
2010-09-30 | autobuild: fixed the --tail option for new log locations | Andrew Tridgell | 1 | -1/+1 | |
2010-09-30 | s4-rodc: don't set SPECIAL_SECRET_PROCESSING on EXOP_REPL_SECRET | Andrew Tridgell | 1 | -0/+3 | |
otherwise we don't get the secrets! Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-30 | s4-spn: don't try and send an empty SPN list | Andrew Tridgell | 1 | -0/+2 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-10-01 | selftest: Let selftest provide the tempdir, rather than creating it as ↵ | Jelmer Vernooij | 3 | -6/+6 | |
sideeffect of tests.py. | |||||
2010-09-30 | selftest: fixed a selftest error on sn | Andrew Tridgell | 1 | -1/+1 | |
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-10-01 | delete_object: Remove unnecessary pass calls. | Jelmer Vernooij | 1 | -7/+0 | |
2010-10-01 | s4-selftest: Remove unnecessary PYTHONPATH overrides. | Jelmer Vernooij | 1 | -6/+6 | |
2010-10-01 | s4-selftest: Normalize paths. | Jelmer Vernooij | 1 | -5/+5 | |
2010-10-01 | s4-selftest: Finish conversion of selftest.sh to Python. | Jelmer Vernooij | 2 | -104/+104 | |
2010-10-01 | s4-selftest: Convert tests.sh to Python. | Jelmer Vernooij | 2 | -544/+510 | |
2010-09-30 | autobuild: push of ref/notes/commits isn't allowed in master | Andrew Tridgell | 1 | -1/+3 | |
metze may enable this later Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Sep 30 22:25:02 UTC 2010 on sn-devel-104 | |||||
2010-09-30 | s4-provision: wipe the old keytabs when provisioning | Andrew Tridgell | 2 | -7/+29 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-30 | s4-rodc: fixed the keyVersionNumber on the RODC account in secrets.keytab | Andrew Tridgell | 1 | -2/+5 | |
we need to fetch the msDS-keyVersionNumber from the writeable DC Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-30 | s4-drs: put the GCSPN flag into the repsTo if requested | Andrew Tridgell | 2 | -0/+8 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-30 | s4-libnet: wipe the old keytab when exporting | Andrew Tridgell | 1 | -0/+2 | |
this prevents confusion with old keytab entries Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-30 | s4-dsdb: silence the domainFunctionality not setup warning | Andrew Tridgell | 1 | -1/+2 | |